add configure option to run tests without valgrind

This commit is contained in:
David Tolnay committed 2015-06-27 11:24:53 -07:00
1 parent 1defaa7b00
commit d7e35101c5
3 files changed
+17 -1

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ JQTESTDIR=$(cd "$(dirname "$0")" && pwd)
JQBASEDIR=$JQTESTDIR/..
JQ=$JQBASEDIR/jq
if which valgrind > /dev/null; then
if [ -z "${NO_VALGRIND-}" ] && which valgrind > /dev/null; then
VALGRIND="valgrind --error-exitcode=1 --leak-check=full \
--suppressions=$JQTESTDIR/onig.supp"
Q=-q