Re: Test skip()'ing weirdness

2009-02-19 Thread Ovid
- Original Message From: Pedro Figueiredo m...@pedrofigueiredo.org Reformatting: Test::Harness 2.56: 1/1 skipped: meh All tests successful, 1 subtest skipped. Test::Harness 2.64: 1/1 skipped: various reasons All tests successful, 1 subtest skipped.

Re: Test skip()'ing weirdness

2009-02-19 Thread Michael G Schwern
chromatic wrote: On Thursday 19 February 2009 04:05:37 Ovid wrote: Properly, if we want to report SKIPs for each test (presumably with numbers), then we want to report failing TODOs with each test for consistency's sake. I don't like that. You can already get this behavior with the

Re: Test skip()'ing weirdness

2009-02-19 Thread Pedro Figueiredo
Michael G Schwern wrote: Skipped tests can sometimes be turned on by the user. For example... $ prove -l t/is_deeply_with_threads.t t/is_deeply_with_threadsskipped: many perls have broken threads. Enable with AUTHOR_TESTING. this is exactly what i do in these skips, check for an

Test skip()'ing weirdness

2009-02-18 Thread Pedro Figueiredo
Hi, I've had a report from a user regarding some tests under Darwin (10.5.6, Leopard, I have no idea if it happens on earlier versions too). I've since noticed the behaviour under 5.10 on Linux is not what I expected either. This is the test code: #!perl -T use strict; use Test::More

Re: Test skip()'ing weirdness

2009-02-18 Thread chromatic
On Wednesday 18 February 2009 10:14:14 Pedro Figueiredo wrote: 5.8.8 is the default system Perl in both Darwin and Linux, 5.10.0 was installed manually by me. Can anyone please shed some light on this? Check the version of Test::Harness installed; that's what interprets and reports the TAP

Re: Test skip()'ing weirdness

2009-02-18 Thread Michael G Schwern
Pedro Figueiredo wrote: I've had a report from a user regarding some tests under Darwin (10.5.6, Leopard, I have no idea if it happens on earlier versions too). I've since noticed the behaviour under 5.10 on Linux is not what I expected either. My orbital mind reading laser got hit by an

Re: Test skip()'ing weirdness

2009-02-18 Thread Ovid
...@pedrofigueiredo.org Cc: perl-qa@perl.org Sent: Wednesday, 18 February, 2009 20:20:50 Subject: Re: Test skip()'ing weirdness Pedro Figueiredo wrote: I've had a report from a user regarding some tests under Darwin (10.5.6, Leopard, I have no idea if it happens on earlier versions too). I've

Re: Test skip()'ing weirdness

2009-02-18 Thread Pedro Figueiredo
Here are the versions of Test::Harness for each case. On Wed, Feb 18, 2009 at 6:14 PM, Pedro Figueiredo m...@pedrofigueiredo.org wrote: Darwin (10.5.6, Leopard) perl 5.8.8: $ prove foo.t foook All tests successful. Files=1, Tests=1, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.02 cusr