diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2005-04-06 06:14:51 +0000 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2005-04-06 06:14:51 +0000 |
commit | eac7c7286dd025decafd0b9e9f1c01aba6ce02d6 (patch) | |
tree | 62e38365e3013f13f1488faa050177bde0644985 /t | |
parent | 3a79450617e447f22fcb046f4f6cb1ba6ca24171 (diff) | |
download | perl-eac7c7286dd025decafd0b9e9f1c01aba6ce02d6.tar.gz |
1. t/TEST now deals with SKIP as if it was TODO. This complies to TAP
2. Removed the depricated 'my $foo if expr' there
p4raw-id: //depot/perl@24173
Diffstat (limited to 't')
-rwxr-xr-x | t/TEST | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -426,8 +426,11 @@ EOT } $seen_ok = 1; if ($2 == $next) { - my($not, $num, $extra) = ($1, $2, $3); - my($istodo) = $extra =~ /#\s*TODO/ if $extra; + my($not, $num, $extra, $istodo) = ($1, $2, $3, 0); + # SKIP is essentially the same as TODO for t/TEST + # this still conforms to TAP: + # http://search.cpan.org/dist/Test-Harness/lib/Test/Harness/TAP.pod + $extra and $istodo = $extra =~ /#\s*(?:TODO|SKIP)\b/; $istodo = 1 if $todo{$num}; if( $not && !$istodo ) { |