summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/selftest/output/buildfarm.pm4
-rwxr-xr-xsource4/selftest/selftest.pl2
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/selftest/output/buildfarm.pm b/source4/selftest/output/buildfarm.pm
index cf30bce6c8..a9077c3372 100644
--- a/source4/selftest/output/buildfarm.pm
+++ b/source4/selftest/output/buildfarm.pm
@@ -8,8 +8,8 @@ use Exporter;
use strict;
sub new($$$$) {
- my ($class, $verbose, $immediate, $statistics) = @_;
- my $self = {
+ my ($class, $statistics) = @_;
+ my $self = {
statistics => $statistics,
test_output => {}
};
diff --git a/source4/selftest/selftest.pl b/source4/selftest/selftest.pl
index 2f4d15d00f..543fc314b0 100755
--- a/source4/selftest/selftest.pl
+++ b/source4/selftest/selftest.pl
@@ -694,7 +694,7 @@ sub teardown_env($)
my $msg_ops;
if ($opt_format eq "buildfarm") {
require output::buildfarm;
- $msg_ops = new output::buildfarm();
+ $msg_ops = new output::buildfarm($statistics);
} elsif ($opt_format eq "plain") {
require output::plain;
$msg_ops = new output::plain($opt_verbose, $opt_immediate, $statistics);