diff options
author | Michael G. Schwern <schwern@pobox.com> | 2001-05-29 10:19:52 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-29 15:46:10 +0000 |
commit | 809908f73d9628084b79065572fded532bb1d9f8 (patch) | |
tree | 66f32431bdb1f99db1719fd2d11b799a91132c44 /t/TEST | |
parent | 24c841bae77f775894f878f3c1a6d03ea2e9ca5f (diff) | |
download | perl-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-x | t/TEST | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |