VALGRIND_CHECK_LEAKS logic was backwards :(
This commit is contained in:
parent
416287d45f
commit
fccfa239de
|
@ -164,7 +164,7 @@ if [ "x$USE_VALGRIND" != "x" ]; then
|
||||||
|
|
||||||
if [ x"$VG_SKIP" = "x" ]; then
|
if [ x"$VG_SKIP" = "x" ]; then
|
||||||
VG_LEAK="--leak-check=no"
|
VG_LEAK="--leak-check=no"
|
||||||
if [ x"$VALGRIND_CHECK_LEAKS" = "x" ]; then
|
if [ x"$VALGRIND_CHECK_LEAKS" != "x" ]; then
|
||||||
VG_LEAK="--leak-check=full"
|
VG_LEAK="--leak-check=full"
|
||||||
fi
|
fi
|
||||||
VG_IGNORE="/bin/*,/sbin/*,/usr/*,/var/*"
|
VG_IGNORE="/bin/*,/sbin/*,/usr/*,/var/*"
|
||||||
|
|
|
@ -9,7 +9,7 @@ test "x$OBJ" = "x" && OBJ=$PWD
|
||||||
# This mostly replicates the logic in test-exec.sh for running the
|
# This mostly replicates the logic in test-exec.sh for running the
|
||||||
# regress tests under valgrind.
|
# regress tests under valgrind.
|
||||||
VG_LEAK="--leak-check=no"
|
VG_LEAK="--leak-check=no"
|
||||||
if [ x"$VALGRIND_CHECK_LEAKS" = "x" ]; then
|
if [ x"$VALGRIND_CHECK_LEAKS" != "x" ]; then
|
||||||
VG_LEAK="--leak-check=full"
|
VG_LEAK="--leak-check=full"
|
||||||
fi
|
fi
|
||||||
VG_TEST=`basename $UNIT_BINARY`
|
VG_TEST=`basename $UNIT_BINARY`
|
||||||
|
|
Loading…
Reference in New Issue