summaryrefslogtreecommitdiff
path: root/t/TEST
diff options
context:
space:
mode:
authorMichael G. Schwern <schwern@pobox.com>2001-05-29 10:19:52 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-05-29 15:46:10 +0000
commit809908f73d9628084b79065572fded532bb1d9f8 (patch)
tree66f32431bdb1f99db1719fd2d11b799a91132c44 /t/TEST
parent24c841bae77f775894f878f3c1a6d03ea2e9ca5f (diff)
downloadperl-809908f73d9628084b79065572fded532bb1d9f8.tar.gz
Syncing with Test-1.17
Message-ID: <20010529091952.R675@blackrider.blackstar.co.uk> p4raw-id: //depot/perl@10293
Diffstat (limited to 't/TEST')
-rwxr-xr-xt/TEST4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/TEST b/t/TEST
index 3b4ce62059..8f60c8701c 100755
--- a/t/TEST
+++ b/t/TEST
@@ -192,8 +192,9 @@ EOT
print $_;
}
unless (/^#/) {
- if (/^1\.\.([0-9]+)/) {
+ if (/^1\.\.([0-9]+)( todo ([\d ]+))?/) {
$max = $1;
+ %todo = map { $_ => 1 } split / /, $3 if $3;
$totmax += $max;
$files += 1;
$next = 1;
@@ -205,6 +206,7 @@ EOT
{
my($not, $num, $extra) = ($1, $2, $3);
my($istodo) = $extra =~ /^\s*#\s*TODO/ if $extra;
+ $istodo = 1 if $todo{$num};
if( $not && !$istodo ) {
$ok = 0;