]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Enable valgrind in (some) tests.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 2 Feb 2018 11:24:00 +0000 (11:24 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 2 Feb 2018 11:24:00 +0000 (11:24 +0000)
git-svn-id: file:///svn/unbound/trunk@4500 be551aaa-1e26-0410-a405-d3ace91eadb9

testdata/03-testbound.tdir/03-testbound.test

index d0138d3ef7967bcf3b1fbbb01ea9997cb38e38f8..aefdc18554f448d44aa925f95ce90d8fbf66d86c 100644 (file)
@@ -11,7 +11,11 @@ get_make
 exitval=0
 # quiet="" to make verbose
 
-do_valgrind=no
+if test -f $PRE/unbound_do_valgrind_in_test; then
+       do_valgrind=yes
+else
+       do_valgrind=no
+fi
 VALGRIND_FLAGS="--leak-check=full --show-leak-kinds=all"
 # valgrind mode for debug
 #if grep "staticexe=-static" $PRE/Makefile >/dev/null 2>&1; then