aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2017-05-27 14:30:24 +0200
committerDan Fandrich <dan@coneharvesters.com>2017-05-27 14:30:24 +0200
commit14514c97968c1ad26b15e140083565e85a4d2b47 (patch)
treecc9a5ebd5fa00d680b2ba18039446d4fdb357b8f
parentd90b729c3b5aa6122f67d2ee21c718a0bc93e5dd (diff)
runtests.pl: removed unused arguments to valgrindparse
-rwxr-xr-xtests/runtests.pl2
-rw-r--r--tests/valgrind.pm4
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 309b7085a..5eafdd5db 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -4121,7 +4121,7 @@ sub singletest {
$timevrfyend{$testnum} = Time::HiRes::time() if($timestats);
return 1;
}
- my @e = valgrindparse($srcdir, $feature{'SSL'}, "$LOGDIR/$vgfile");
+ my @e = valgrindparse("$LOGDIR/$vgfile");
if(@e && $e[0]) {
if($automakestyle) {
logmsg "FAIL: $testnum - $testname - valgrind\n";
diff --git a/tests/valgrind.pm b/tests/valgrind.pm
index e6f66fd50..8b3d717d4 100644
--- a/tests/valgrind.pm
+++ b/tests/valgrind.pm
@@ -23,9 +23,7 @@
use File::Basename;
sub valgrindparse {
- my ($srcdir, # the dir in which the runtests script resides
- $sslenabled,
- $file) = @_;
+ my ($file) = @_;
my @o;
open(VAL, "<$file");
@o = <VAL>;