summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-09-30 08:26:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:07:32 -0500
commit0988b807f65d0d4f4905b9a12598d29eee4f22c1 (patch)
tree8ad67f2054ac47db121fc13e4334e6e5327901f9
parent9e59dc7031c9a7bcab581501b05adb865b41d9cd (diff)
downloadsamba-0988b807f65d0d4f4905b9a12598d29eee4f22c1.tar.gz
samba-0988b807f65d0d4f4905b9a12598d29eee4f22c1.tar.bz2
samba-0988b807f65d0d4f4905b9a12598d29eee4f22c1.zip
r25435: actually pass the statistics to the buildfarm output module
to calculate the SELFTEST RUNTIME correct metze (This used to be commit 12e485170909c8e09962aa2080b86455ad6509e5)
-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);