summaryrefslogtreecommitdiff
path: root/t/lib/common.pl
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/common.pl')
-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/)