summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2013-01-18 11:20:41 +0100
committerYang Tse <yangsita@gmail.com>2013-01-18 11:20:41 +0100
commitccb34cb46d1078e5043d4e43402ea7a09283ee50 (patch)
tree001925ccbc393b28b141782df16f55f4a744dd03 /tests
parent0e1855d9d3fae204cb9c62da24c8317f50d18d6c (diff)
downloadcurl-ccb34cb46d1078e5043d4e43402ea7a09283ee50.tar.gz
runtests.pl: make VPATH builds find valgrind.supp
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.pl2
1 files changed, 1 insertions, 1 deletions
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";