summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-07-01 11:13:34 +0100
committerNicholas Clark <nick@ccl4.org>2010-07-01 12:08:50 +0100
commit619d9e9c6b00e1f508864cfeb08ecc3ba0aa6237 (patch)
tree3b931953eba1e51acfb5b1b1989e22240e3c8dde /t
parentbd3fc147b26516ab1045db127705986acf92a6f4 (diff)
downloadperl-619d9e9c6b00e1f508864cfeb08ecc3ba0aa6237.tar.gz
Convert strict.t to use t/lib/common.pl
Diffstat (limited to 't')
-rw-r--r--t/lib/common.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/lib/common.pl b/t/lib/common.pl
index 8680b73328..9167323494 100644
--- a/t/lib/common.pl
+++ b/t/lib/common.pl
@@ -1,4 +1,4 @@
-# This code is used by lib/warnings.t and lib/feature.t
+# This code is used by lib/feature.t, lib/strict.t and lib/warnings.t
BEGIN {
require './test.pl';
@@ -50,7 +50,7 @@ foreach my $file (@w_files) {
undef $/;
-plan tests => (scalar(@prgs)-$files);
+plan tests => (scalar(@prgs)-$files + ($::local_tests || 0));
for (@prgs){
unless (/\n/)