From 6c3769ff35b17ba58fef6786c7aa4122e1c66d52 Mon Sep 17 00:00:00 2001 From: "lenz@mysql.com" <> Date: Mon, 23 Sep 2002 21:30:08 +0200 Subject: [PATCH] - modified mysql-test/mysql-test-run.sh to only probe for "gcov", if "--gcov" is actually passed as a command line option (to avoid failures on systems with no gcov installed) --- mysql-test/mysql-test-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh index b51d5fff70b..8b5ec5191b0 100644 --- a/mysql-test/mysql-test-run.sh +++ b/mysql-test/mysql-test-run.sh @@ -93,7 +93,6 @@ TAIL=tail ECHO=echo # use internal echo if possible EXPR=expr # use internal if possible FIND=find -GCOV=`which gcov` if test $? != 0; then exit 1; fi PRINTF=printf RM=rm @@ -276,6 +275,7 @@ while test $# -gt 0; do exit 1 fi DO_GCOV=1 + GCOV=`which gcov` ;; --gprof ) DO_GPROF=1