summaryrefslogtreecommitdiff
path: root/t/test_pl
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2014-07-02 10:30:07 +1000
committerTony Cook <tony@develop-help.com>2014-07-02 10:30:07 +1000
commit8065402372eb5d17f3627f2a0e4576c81b14f1e8 (patch)
treebe43f6a3be7f37bf8f4504e064b0c7d4efb15d57 /t/test_pl
parentf7bdd0be8124af3d6c14acac62954f6947ca7bf8 (diff)
downloadperl-8065402372eb5d17f3627f2a0e4576c81b14f1e8.tar.gz
allow test.pl tests to use C<< plan skip_all => $reason >>
This pointless incompatibility with Test::More has resulted in many annoyingly broken test scripts.
Diffstat (limited to 't/test_pl')
-rw-r--r--t/test_pl/plan_skip_all.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/test_pl/plan_skip_all.t b/t/test_pl/plan_skip_all.t
new file mode 100644
index 0000000000..fddb8f0c66
--- /dev/null
+++ b/t/test_pl/plan_skip_all.t
@@ -0,0 +1,7 @@
+#!/usr/bin/env perl -w
+use strict;
+use warnings;
+
+BEGIN { require "test.pl"; }
+
+plan skip_all => "Test Test::More compatible plan skip_all => \$foo";