On Sep 4, 2007, at 8:00 PM, Michael G Schwern wrote:

David Golden wrote:
On 9/4/07, Andy Armstrong <[EMAIL PROTECTED]> wrote:
As a matter of interest David did you find the exit code from make
test to be an unreliable indication of passed / failed? I'm working
on running tests for Test::SmokeStack so I'm interested to know if
there are any pitfalls in trusting the exit code.

I'd have to check my test cases. I think the nasty edge cases involve
test.pl and the fact that EU::MM and M::B treat it differently.
EU::MM runs test.pl directly and takes its exit code as success or
failure.  M::B passes test.pl to Test::Harness and gets that result
back.

FWIW  Module::Build, IMO, should not be doing that.

M::B has been doing that for over 6 years though. 6 years ago I must have reasoned that using 2 different mechanisms for running tests just because the tests are sitting in different places wasn't ideal. And made unnecessary burdens for people trying to transition from test.pl to t/*.t . So I just unified them.

At this point I don't think it would be wise to change it.

 -Ken

Reply via email to