[tapx-dev] Test::Harness 3.0

Andy Armstrong andy at hexten.net
Mon Jul 23 16:24:37 BST 2007


On 23 Jul 2007, at 15:39, Andrew Dougherty wrote:
> and got the following.  If you look at the summary line for  
> countingbug.t,
> you'll see it's claiming 7 failed tests.  It has double-counted  
> tests 5
> and 6, which were never even attempted.
>
> PERL_DL_NONLAZY=1 /home/doughera/my/perl/bin/perl5.9.5 "- 
> MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/ 
> arch')" t/*.t t/compat/*.t
> t/000-load......................# Testing TAP::Parser 0.52, Perl  
> 5.009005, /home/doughera/my/perl/bin/perl5.9.5
> ok
> t/010-base......................ok
> t/020-regression................ok
> t/030-grammar...................
> #   Failed test '... and it should contain the correct data'
> #   at t/030-grammar.t line 111.
> #     Structures begin differing at:
> #          $got->{explanation} = ''
> #     $expected->{explanation} = 'why not?'
>
> #   Failed test '... and it should contain the correct data'
> #   at t/030-grammar.t line 135.
> #     Structures begin differing at:
> #          $got->{directive} = ''
> #     $expected->{directive} = 'SKIP'
> # Looks like you failed 2 tests of 69.
> dubious
> 	Test returned status 2 (wstat 512, 0x200)
> DIED. FAILED tests 43, 48
> 	Failed 2/69 tests, 97.10% okay

For the record this is an interaction between a subtle change in  
5.9.5 and t/030-grammar; it's not actually a TAP::Parser bug. t/030- 
grammar is fixed in version in SVN.

> t/countingbug...................
> #   Failed test at t/countingbug.t line 10.
>
> #   Failed test at t/countingbug.t line 11.
>
> #   Failed test at t/countingbug.t line 12.
> unexpected crash! at t/countingbug.t line 13.

Could you mail me t/countingbug.t please?

-- 
Andy Armstrong, hexten.net



More information about the tapx-dev mailing list