mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
- 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
This commit is contained in:
@ -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
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
DO_GCOV=1
|
DO_GCOV=1
|
||||||
|
GCOV=`which gcov`
|
||||||
;;
|
;;
|
||||||
--gprof )
|
--gprof )
|
||||||
DO_GPROF=1
|
DO_GPROF=1
|
||||||
|
Reference in New Issue
Block a user