From: Yves Orton Date: Tue, 23 May 2006 22:27:40 +0000 (+0200) Subject: Stop harness from printing summary table header for each row in table X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cdfe229e642682dd52e04cdd1232a90648b35fe3;p=p5sagit%2Fp5-mst-13.2.git Stop harness from printing summary table header for each row in table Message-ID: <9b18b3110605231327t316104caoce301668178ee442@mail.gmail.com> p4raw-id: //depot/perl@28297 --- diff --git a/lib/Test/Harness.pm b/lib/Test/Harness.pm index 4659207..2024d24 100644 --- a/lib/Test/Harness.pm +++ b/lib/Test/Harness.pm @@ -38,7 +38,7 @@ Version 2.58 =cut -$VERSION = '2.58'; +$VERSION = '2.58_01'; # Backwards compatibility for exportable variable names. *verbose = *Verbose; @@ -561,10 +561,9 @@ sub get_results { if ($tot->{bonus}) { my($fmt_top, $fmt) = _create_fmts("Passed TODO",$todo_passed); # Now write to formats + $out .= swrite( $fmt_top ); for my $script (sort keys %{$todo_passed||{}}) { my $Curtest = $todo_passed->{$script}; - - $out .= swrite( $fmt_top ); $out .= swrite( $fmt, @{ $Curtest }{qw(name estat wstat max failed canon)} ); } } @@ -584,9 +583,9 @@ sub get_results { my($fmt_top, $fmt1, $fmt2) = _create_fmts("Failed Test",$failedtests); # Now write to formats + $out .= swrite( $fmt_top ); for my $script (sort keys %$failedtests) { my $Curtest = $failedtests->{$script}; - $out .= swrite( $fmt_top ); $out .= swrite( $fmt1, @{ $Curtest }{qw(name estat wstat max failed canon)} ); $out .= swrite( $fmt2, $Curtest->{canon} ); }