petdance/scratch — Issue #881: PIR todo() is frequently misused
Author: petdance
Created: 2011-11-01 05:37:11+00:00
State: open
Labels: bug, Pri-normal, Sev-medium, testing

In pure PIR .t tests that use the test_more harness, the todo() function either:
* is constant todo(0, ...), preventing "unexpected success" info from ever printing, or
* is constant todo(1, ...), causing confusing "unexpected success" to always happen on TODOed platforms, or
* is conditioned todo($I0, ...), causing duplication of code or inability to use is() and friends.
This is a result of the todo() function's documentation and API.

Further analysis to follow...

Trac ID #1302