Skip Menu |

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 17490
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 2.57_03



Subject: Test::Harness::runtests does not die on failure
runtests is documented to die if a test fails. This is broken in 2.57_03: failing tests are reported fine but the die does not happen. I tried it with 5.8.7 and 5.8.8 and I uploaded a dummy distro with a failing test for your testing convenience: CPAN::Test::Dummy::Perl5::Build::Fails If you run './Build test' on this with Test::Harness 2.57_03, you will note that the return value of to the shell is true. Running through the debugger showed me that runtests completes without dieing.
Fixed in 2.62. I'm sorry this slipped by me. :-(