summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2002-09-23 21:30:08 +0200
committerunknown <lenz@mysql.com>2002-09-23 21:30:08 +0200
commitd7bbd4454aee39eb6dd12a8ff14e21782f7efcc8 (patch)
tree2110dc230ef35a1e696c82936eae25f934b1813f /mysql-test
parenta05ad2445c5d5c7cc75aa421c5c048cc75d66a89 (diff)
downloadmariadb-git-d7bbd4454aee39eb6dd12a8ff14e21782f7efcc8.tar.gz
- 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: - only probe for gcov, if it's actually required
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/mysql-test-run.sh2
1 files changed, 1 insertions, 1 deletions
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