From 0988b807f65d0d4f4905b9a12598d29eee4f22c1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 30 Sep 2007 08:26:53 +0000 Subject: r25435: actually pass the statistics to the buildfarm output module to calculate the SELFTEST RUNTIME correct metze (This used to be commit 12e485170909c8e09962aa2080b86455ad6509e5) --- source4/selftest/output/buildfarm.pm | 4 ++-- source4/selftest/selftest.pl | 2 +- 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); -- cgit