Jos Boumans wrote:
> I got this bug report for CPANPLUS the other day, which turns out that
> Test.pm
> does not actually exit with a non-zero exitcode like Test::More does on
> failed tests:
> 
>   http://rt.cpan.org/Ticket/Display.html?id=22685

You're right, Test.pm does not, never has and does not have to.  Exiting 
non-zero on failure is a little "feature" I put in to make using Test::More 
without Test::Harness a little easier but I plan on removing it.


> This means neither CPAN.pm nor CPANPLUS actually detect the fact that a
> 'make test' failed.

This is not Test.pm's fault but the fact that test.pl is not run through 
Test::Harness by MakeMaker.    This is a historical accident.  No, I won't 
change it.  Many test.pl's do not output TAP.  For example, DBI's test.pl 
contains benchmarking code.

Neither CPAN nor CPANPLUS are under any obligation to parse their output.  The 
solution is to get authors to stop using test.pl.

Reply via email to