Commit d7bbd445 authored by unknown's avatar unknown

- 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
parent a05ad244
...@@ -93,7 +93,6 @@ TAIL=tail ...@@ -93,7 +93,6 @@ TAIL=tail
ECHO=echo # use internal echo if possible ECHO=echo # use internal echo if possible
EXPR=expr # use internal if possible EXPR=expr # use internal if possible
FIND=find FIND=find
GCOV=`which gcov`
if test $? != 0; then exit 1; fi if test $? != 0; then exit 1; fi
PRINTF=printf PRINTF=printf
RM=rm RM=rm
...@@ -276,6 +275,7 @@ while test $# -gt 0; do ...@@ -276,6 +275,7 @@ while test $# -gt 0; do
exit 1 exit 1
fi fi
DO_GCOV=1 DO_GCOV=1
GCOV=`which gcov`
;; ;;
--gprof ) --gprof )
DO_GPROF=1 DO_GPROF=1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment