add configure option to run tests without valgrind
This commit is contained in:
1 parent
1defaa7b00
commit
d7e35101c5
3 files changed
+17
-1
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user