summaryrefslogtreecommitdiff
path: root/regress/valgrind-unit.sh
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2018-07-11 10:19:56 +1000
committerDamien Miller <djm@mindrot.org>2018-07-11 10:19:56 +1000
commitfccfa239def497615f92ed28acc57cfe63da3666 (patch)
tree32114c198c8696df04d1cff8788a5654a4bbc283 /regress/valgrind-unit.sh
parent416287d45fcde0a8e66eee8b99aa73bd58607588 (diff)
VALGRIND_CHECK_LEAKS logic was backwards :(
Diffstat (limited to 'regress/valgrind-unit.sh')
-rwxr-xr-xregress/valgrind-unit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/valgrind-unit.sh b/regress/valgrind-unit.sh
index c353c2cbc..d1c110008 100755
--- a/regress/valgrind-unit.sh
+++ b/regress/valgrind-unit.sh
@@ -9,7 +9,7 @@ test "x$OBJ" = "x" && OBJ=$PWD
9# This mostly replicates the logic in test-exec.sh for running the 9# This mostly replicates the logic in test-exec.sh for running the
10# regress tests under valgrind. 10# regress tests under valgrind.
11VG_LEAK="--leak-check=no" 11VG_LEAK="--leak-check=no"
12if [ x"$VALGRIND_CHECK_LEAKS" = "x" ]; then 12if [ x"$VALGRIND_CHECK_LEAKS" != "x" ]; then
13 VG_LEAK="--leak-check=full" 13 VG_LEAK="--leak-check=full"
14fi 14fi
15VG_TEST=`basename $UNIT_BINARY` 15VG_TEST=`basename $UNIT_BINARY`