diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-10-22 06:39:29 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-10-22 06:39:29 +0000 |
commit | b26492eee9e9f6169aa5698b42a13506468cb846 (patch) | |
tree | 1e36a73c5a1d8692997755f79216da33be20f324 /t/TEST | |
parent | bf9cdc68d248e456c55258025f0d0724ca63226d (diff) | |
download | perl-b26492eee9e9f6169aa5698b42a13506468cb846.tar.gz |
Add a test.taintwarn makefile target,
to run the whole test suite with the -t switch.
p4raw-id: //depot/perl@21515
Diffstat (limited to 't/TEST')
-rwxr-xr-x | t/TEST | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -21,8 +21,9 @@ if ($#ARGV >= 0) { $verbose = 1 if $1 eq 'v'; $torture = 1 if $1 eq 'torture'; $with_utf= 1 if $1 eq 'utf8'; - $bytecompile = 1 if $1 eq 'bytecompile'; - $compile = 1 if $1 eq 'compile'; + $bytecompile = 1 if $1 eq 'bytecompile'; + $compile = 1 if $1 eq 'compile'; + $taintwarn = 1 if $1 eq 'taintwarn'; if ($1 =~ /^deparse(,.+)?$/) { $deparse = 1; $deparse_opts = $1; @@ -220,7 +221,13 @@ EOT $switch = qq{"-$1"}; } else { - $switch = ''; + if ($taintwarn) { + # not all tests are expected to pass with this option + $switch = '"-t"'; + } + else { + $switch = ''; + } } my $test_executable; # for 'compile' tests |