X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FTest%2FHarness.pm;h=2024d24305271854933112ea973d5b9b8e6089df;hb=cdfe229e642682dd52e04cdd1232a90648b35fe3;hp=349339d00c65743b598ca402e59139e94a1ee6a2;hpb=ea5423ed7213500644a0e5d3956d06216e1dfa0f;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/Test/Harness.pm b/lib/Test/Harness.pm index 349339d..2024d24 100644 --- a/lib/Test/Harness.pm +++ b/lib/Test/Harness.pm @@ -34,11 +34,11 @@ Test::Harness - Run Perl standard test scripts with statistics =head1 VERSION -Version 2.57_06 +Version 2.58 =cut -$VERSION = '2.57_06'; +$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} ); }