X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2FTEST;h=f2f623df797b556a6864b185e27adb235ecfdb90;hb=4cd2bd1f390724a103e72b993d7f67fb405628ad;hp=87a7caeed91037e9586e5e20176f1ad699a99cbd;hpb=9c54ecba7457fac2086e82080f77bd0f3d789ac3;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/TEST b/t/TEST index 87a7cae..f2f623d 100755 --- a/t/TEST +++ b/t/TEST @@ -97,7 +97,7 @@ unless (@ARGV) { my $mani = File::Spec->catfile($updir, "MANIFEST"); if (open(MANI, $mani)) { while () { # similar code in t/harness - 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!) { $t = $1; if (!$core || $t =~ m!^lib/[a-z]!) { @@ -321,10 +321,11 @@ EOT } if ($ENV{PERL_3LOG}) { my $tpp = $test; + $tpp =~ s:^\.\./::; $tpp =~ s:/:_:g; - $tpp =~ s:\.t$::; - rename("perl.3log", "$tpp.3log") || - die "rename: perl3.log to $tpp.3log: $!\n"; + $tpp =~ s:\.t$:.3log:; + rename("perl.3log", $tpp) || + die "rename: perl3.log to $tpp: $!\n"; } $next = $next - 1; # test if the compiler compiled something