From ccb34cb46d1078e5043d4e43402ea7a09283ee50 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 18 Jan 2013 11:20:41 +0100 Subject: runtests.pl: make VPATH builds find valgrind.supp --- tests/runtests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/runtests.pl b/tests/runtests.pl index c59d68fb7..b39da66d0 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -3084,7 +3084,7 @@ sub singletest { my $valgrindcmd = "$valgrind "; $valgrindcmd .= "$valgrind_tool " if($valgrind_tool); $valgrindcmd .= "--leak-check=yes "; - $valgrindcmd .= "--suppressions=valgrind.supp "; + $valgrindcmd .= "--suppressions=$srcdir/valgrind.supp "; $valgrindcmd .= "--num-callers=16 "; $valgrindcmd .= "${valgrind_logfile}=$LOGDIR/valgrind$testnum"; $CMDLINE = "$valgrindcmd $CMDLINE"; -- cgit v1.2.3