Loading tests/runtests.pl +10 −2 Original line number Diff line number Diff line Loading @@ -68,9 +68,17 @@ my @teststat; # teststat[testnum]=reason, reasons for skip if($valgrind) { # we have found valgrind on the host, use it # perhaps we should verify that valgrind works before we actually use it? # verify that we can invoke it fine my $code = system("valgrind >/dev/null 2>&1"); if(($code>>8) != 1) { #print "Valgrind failure, disable it\n"; undef $valgrind; } else { $CURL="valgrind --leak-check=yes --logfile-fd=3 -q $CURL"; } } ####################################################################### # variables the command line options may set # Loading Loading
tests/runtests.pl +10 −2 Original line number Diff line number Diff line Loading @@ -68,9 +68,17 @@ my @teststat; # teststat[testnum]=reason, reasons for skip if($valgrind) { # we have found valgrind on the host, use it # perhaps we should verify that valgrind works before we actually use it? # verify that we can invoke it fine my $code = system("valgrind >/dev/null 2>&1"); if(($code>>8) != 1) { #print "Valgrind failure, disable it\n"; undef $valgrind; } else { $CURL="valgrind --leak-check=yes --logfile-fd=3 -q $CURL"; } } ####################################################################### # variables the command line options may set # Loading