petdance/scratch — Issue #662: PIR todo() is frequently misused
Author: petdance
Created: 2011-11-14 06:01:30+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...

Originally http://trac.parrot.org/parrot/ticket/1302