From: Wouter Wijngaards Date: Fri, 2 Feb 2018 11:24:00 +0000 (+0000) Subject: Enable valgrind in (some) tests. X-Git-Tag: release-1.7.0rc1~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=237e796955fe2236a904ff346798abd29768a0b5;p=thirdparty%2Funbound.git Enable valgrind in (some) tests. git-svn-id: file:///svn/unbound/trunk@4500 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/testdata/03-testbound.tdir/03-testbound.test b/testdata/03-testbound.tdir/03-testbound.test index d0138d3ef..aefdc1855 100644 --- a/testdata/03-testbound.tdir/03-testbound.test +++ b/testdata/03-testbound.tdir/03-testbound.test @@ -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