From 237e796955fe2236a904ff346798abd29768a0b5 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Fri, 2 Feb 2018 11:24:00 +0000 Subject: [PATCH] Enable valgrind in (some) tests. git-svn-id: file:///svn/unbound/trunk@4500 be551aaa-1e26-0410-a405-d3ace91eadb9 --- testdata/03-testbound.tdir/03-testbound.test | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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