diff options
Diffstat (limited to 'regress/valgrind-unit.sh')
-rwxr-xr-x | regress/valgrind-unit.sh | 2 |
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. |
11 | VG_LEAK="--leak-check=no" | 11 | VG_LEAK="--leak-check=no" |
12 | if [ x"$VALGRIND_CHECK_LEAKS" = "x" ]; then | 12 | if [ x"$VALGRIND_CHECK_LEAKS" != "x" ]; then |
13 | VG_LEAK="--leak-check=full" | 13 | VG_LEAK="--leak-check=full" |
14 | fi | 14 | fi |
15 | VG_TEST=`basename $UNIT_BINARY` | 15 | VG_TEST=`basename $UNIT_BINARY` |