summaryrefslogtreecommitdiff
path: root/t/TEST
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-10-22 06:39:29 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-10-22 06:39:29 +0000
commitb26492eee9e9f6169aa5698b42a13506468cb846 (patch)
tree1e36a73c5a1d8692997755f79216da33be20f324 /t/TEST
parentbf9cdc68d248e456c55258025f0d0724ca63226d (diff)
downloadperl-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-xt/TEST13
1 files changed, 10 insertions, 3 deletions
diff --git a/t/TEST b/t/TEST
index 58850606f8..08787e2f5b 100755
--- a/t/TEST
+++ b/t/TEST
@@ -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