From: Yang Tse Date: Fri, 18 Jan 2013 10:20:41 +0000 (+0100) Subject: runtests.pl: make VPATH builds find valgrind.supp X-Git-Tag: upstream/7.37.1~2315 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ccb34cb46d1078e5043d4e43402ea7a09283ee50;p=platform%2Fupstream%2Fcurl.git runtests.pl: make VPATH builds find valgrind.supp --- diff --git a/tests/runtests.pl b/tests/runtests.pl index c59d68f..b39da66 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";