diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-05-10 13:48:10 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-05-10 13:48:10 +0000 |
commit | e018f8be847d79ec3f2a470a400d481ec2d7bbd6 (patch) | |
tree | 7c969788feea58f88b8116c7e454c1272a65dbf2 /t/harness | |
parent | 436c6dd385a3b29cadf4fa091af1c55eed665e29 (diff) | |
download | perl-e018f8be847d79ec3f2a470a400d481ec2d7bbd6.tar.gz |
Don't do JAPHs unless doing "make torturetest".
Document the less obvious make test targets.
p4raw-id: //depot/perl@16534
Diffstat (limited to 't/harness')
-rw-r--r-- | t/harness | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -9,11 +9,18 @@ BEGIN { $ENV{PERL5LIB} = '../lib'; # so children will see it too } +my $torture; # torture testing? + use Test::Harness; $Test::Harness::switches = ""; # Too much noise otherwise $Test::Harness::verbose = shift if @ARGV && $ARGV[0] eq '-v'; +if ($ARGV[0] eq '-torture') { + shift; + $torture = 1; +} + # Let tests know they're running in the perl core. Useful for modules # which live dual lives on CPAN. $ENV{PERL_CORE} = 1; @@ -57,6 +64,7 @@ if (@ARGV) { push @tests, <op/*.t>; push @tests, <uni/*.t>; push @tests, <lib/*.t>; + push @tests, <japh/*.t> if $torture; push @tests, <win32/*.t> if $^O eq 'MSWin32'; use File::Spec; my $updir = File::Spec->updir; |