my $mani = File::Spec->catfile($updir, "MANIFEST");
if (open(MANI, $mani)) {
while (<MANI>) { # 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]!)
{
}
if ($ENV{PERL_3LOG}) {
my $tpp = $test;
- $tpp =~ s:^../::;
+ $tpp =~ s:^\.\./::;
$tpp =~ s:/:_:g;
- $tpp =~ s:\.t$::;
- rename("perl.3log", "perl.3log.$tpp") ||
- die "rename: perl3.log to perl.3log.$tpp: $!\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