Test skip()'ing weirdness

Pedro Figueiredo me at pedrofigueiredo.org
Mon Feb 16 08:57:47 GMT 2009


Oh yeah, Test::More versions:

Pedro Figueiredo wrote:
>
> Darwin (10.5.6, Leopard)
> perl 5.8.8:
> $ prove foo.t
> foo....ok
> All tests successful.
> Files=1, Tests=1,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.02 cusr  
> 0.00 csys =  0.04 CPU)
> Result: PASS
$ /usr/bin/perl -MTest::More -le 'print $Test::More::VERSION'
0.86
>
> perl 5.10.0:
> $ prove foo.t
> foo....ok
>         1/1 skipped: various reasons
> All tests successful, 1 subtest skipped.
> Files=1, Tests=1,  0 wallclock secs ( 0.02 cusr +  0.00 csys =  0.02 CPU)
$ /usr/local/bin/perl -MTest::More -le 'print $Test::More::VERSION'
0.86

>
> Still not what I excpected, but better than 5.8.8.
>
> Linux (Ubuntu Server 8.04)
> perl 5.8.8:
> $ prove foo.t
> foo....ok
>         1/1 skipped: meh
> All tests successful, 1 subtest skipped.
> Files=1, Tests=1,  0 wallclock secs ( 0.05 cusr +  0.00 csys =  0.05 CPU)
$ /usr/bin/perl -MTest::More -le 'print $Test::More::VERSION'
0.62
>
> perl 5.10.0:
> $ prove foo.t
> foo....ok
> All tests successful.
> Files=1, Tests=1,  0 wallclock secs ( 0.05 usr  0.01 sys +  0.04 cusr  
> 0.00 csys =  0.10 CPU)
> Result: PASS
$ /usr/local/bin/perl -MTest::More -le 'print $Test::More::VERSION'
0.86

>
> 5.8.8 is the default system Perl in both Darwin and Linux, 5.10.0 was 
> installed manually by me. Can anyone please shine a light on this?
>
> Cheers,
>
> Pedro


More information about the london.pm mailing list