Skip Menu |

This queue is for tickets about the Smolder CPAN distribution.

Report information
The Basics
Id: 45568
Status: resolved
Priority: 0/
Queue: Smolder

People
Owner: Nobody in particular
Requestors: bmc [...] shmoo.com
Cc:
AdminCc:

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



Subject: tests that died show as passed
Tests that die, either via "die" or BAIL_OUT show up as passing. Example test script: use Test::More tests => 2; ok(1+2, 'math'); die; is(3+4,7, 'math2'); When I run this via prove, I get the following: t/test.t .. 1/2 Died at t/test.t line 8. # Looks like you planned 2 tests but ran 1. # Looks like your test exited with 255 just after 1. t/test.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/2 subtests Test Summary Report ------------------- t/test.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 2 tests but ran 1. Files=1, Tests=1, 0 wallclock secs ( 0.06 usr 0.00 sys + 0.04 cusr 0.00 csys = 0.10 CPU) Result: FAIL Wen running prove and uploading the results to smolder via smolder_smoke_signal, it shows up on Smolder as having passed.
This has been fixed in the master git version and will appear in 1.39. Thanks for the report and test TAP.