runtests.pl: make VPATH builds find valgrind.supp

This commit is contained in:
Yang Tse 2013-01-18 11:20:41 +01:00
parent 0e1855d9d3
commit ccb34cb46d

View File

@ -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";