Skip Menu |

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

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

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

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



Subject: Document exit code of prove utility
The exit code of the prove utility is not yet documented. Currently it seems that 0 is returned on PASS, and !=0 is returned on FAIL or if there are any passing TODO tests. As passing TODO tests are not causing a failure in normal "make test", I would propose that it should not be a failure with prove, too. Alternatively there a new switch "--fail-on-passing-todo" could be introduced. Regards, Slaven
The behaviour of prove has been changed so that todo tests no longer result in a non-zero exit. I've just (r1287) added a note about the meaning of the exit code. Thanks!