X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fharness;h=f7239fe3b177e055eb261824540ae248383389ca;hb=6e909404a2579c635b9578c0b6ce5416a5ed7b0b;hp=fafba45c2ae4ec3ece47f523f70e27b7c93274e3;hpb=e018f8be847d79ec3f2a470a400d481ec2d7bbd6;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/harness b/t/harness index fafba45..f7239fe 100644 --- a/t/harness +++ b/t/harness @@ -71,7 +71,7 @@ if (@ARGV) { my $mani = File::Spec->catfile(File::Spec->updir, "MANIFEST"); if (open(MANI, $mani)) { while () { # similar code in t/TEST - if (m!^(ext/\S+/?([^/]+\.t|test\.pl)|lib/\S+?(\.t|test\.pl))\s!) { + if (m!^(ext/\S+/?(?:[^/\s]+\.t|test\.pl)|lib/\S+?(?:\.t|test\.pl))\s!) { push @tests, File::Spec->catfile($updir, $1); } } @@ -80,6 +80,7 @@ if (@ARGV) { warn "$0: cannot open $mani: $!\n"; } push @tests, ; + push @tests, ; } } if ($^O eq 'MSWin32') {