summaryrefslogtreecommitdiff
path: root/t/TEST
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-03-18 20:21:34 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-03-18 20:21:34 +0000
commit211f317fca609f5ac54a899e10ccf2cdbfe2496c (patch)
treed18d0d8bcd3bba07b3a4b197d6702226d01f0457 /t/TEST
parent4d4e713df03e36e02b94d8347b24e61304531f93 (diff)
downloadperl-211f317fca609f5ac54a899e10ccf2cdbfe2496c.tar.gz
Add a hook for running the tests under the Third Degree
debugging tool (set $ENV{PERL_3LOG} to non-zero) TODO: Document the use of Third Degree. p4raw-id: //depot/perl@9210
Diffstat (limited to 't/TEST')
-rwxr-xr-xt/TEST6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/TEST b/t/TEST
index a2c8899d52..a3df2911ac 100755
--- a/t/TEST
+++ b/t/TEST
@@ -146,6 +146,12 @@ EOT
}
}
close RESULTS;
+ if ($ENV{PERL_3LOG}) {
+ my $tpp = $test;
+ $tpp =~ s:/:_:g;
+ $tpp =~ s:\.t$::;
+ rename("perl.3log", "perl.3log.$tpp");
+ }
$next = $next - 1;
if ($ok && $next == $max) {
if ($max) {