Author: metze Date: 2007-09-30 08:26:53 +0000 (Sun, 30 Sep 2007) New Revision: 25435
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25435 Log: actually pass the statistics to the buildfarm output module to calculate the SELFTEST RUNTIME correct metze Modified: branches/SAMBA_4_0/source/selftest/output/buildfarm.pm branches/SAMBA_4_0/source/selftest/selftest.pl Changeset: Modified: branches/SAMBA_4_0/source/selftest/output/buildfarm.pm =================================================================== --- branches/SAMBA_4_0/source/selftest/output/buildfarm.pm 2007-09-30 08:07:06 UTC (rev 25434) +++ branches/SAMBA_4_0/source/selftest/output/buildfarm.pm 2007-09-30 08:26:53 UTC (rev 25435) @@ -8,8 +8,8 @@ use strict; sub new($$$$) { - my ($class, $verbose, $immediate, $statistics) = @_; - my $self = { + my ($class, $statistics) = @_; + my $self = { statistics => $statistics, test_output => {} }; Modified: branches/SAMBA_4_0/source/selftest/selftest.pl =================================================================== --- branches/SAMBA_4_0/source/selftest/selftest.pl 2007-09-30 08:07:06 UTC (rev 25434) +++ branches/SAMBA_4_0/source/selftest/selftest.pl 2007-09-30 08:26:53 UTC (rev 25435) @@ -694,7 +694,7 @@ 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);