Skip Menu |

This queue is for tickets about the TAPx-Parser CPAN distribution.

Report information
The Basics
Id: 24679
Status: resolved
Priority: 0/
Queue: TAPx-Parser

People
Owner: ovid [...] cpan.org
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.50_06
Fixed in: (no value)



Subject: runtests thinks a successful test which dies is a success
If a test runs all its tests successfully but then dies that should be a failure. runtests thinks its a success. $ cat die_after_success.t #!/usr/bin/perl -w print <<'END'; 1..1 ok 1 END die; $ runtests die_after_success.t die_after_success....ok All tests successful.
From: OVID [...] cpan.org
On Tue Jan 30 17:06:57 2007, MSCHWERN wrote: Show quoted text
> If a test runs all its tests successfully but then dies that should be a > failure. runtests thinks its a success. > > $ cat die_after_success.t > #!/usr/bin/perl -w > > print <<'END'; > 1..1 > ok 1 > END > > die; > > $ runtests die_after_success.t > die_after_success....ok > All tests successful.
Yup. That's a bug. We'll try to have it fixed in the next release. Thanks for the report. Cheers, Ovid
This is fixed as of 0.50_07.