[tap-l] Pragmas
Andy Armstrong
andy at hexten.net
Wed Apr 16 22:18:02 UTC 2008
In Oslo I completely forgot that I'd added pragmas to the version of
TAP Test::Harness supports. Sorry about that.
Right now the only supported pragma is strict. It works like this:
TAP Version 13
1..2
ok 1
foo
ok 2
is OK, but
TAP Version 13
1..2
pragma +strict
ok 1
foo
ok 2
fails - because there's a TAP syntax error.
Are we OK with this interface? Currently the only supported pragma is
'strict' but I've just committed a change to T::H that adds an
ignore_exit option at various places (at the request of the Parrot
folks) and it seems that it'd be useful to support
pragma +ignore_exit
so that a script that knew it couldn't control its exit status could
tell the parser to ignore it.
Do we like that?
--
Andy Armstrong, Hexten
More information about the tap-l
mailing list