summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-02-23 09:35:04 +0000
committerNicholas Clark <nick@ccl4.org>2011-02-23 09:35:04 +0000
commitc859a0d911155a35c737eed4bca3455a8f5e4421 (patch)
tree176ce49f1ed6c07460c05819f3d6efc947b8d1f4 /t
parenteed19f4a2c5de34b82e8febc019a8f919e391a63 (diff)
downloadperl-c859a0d911155a35c737eed4bca3455a8f5e4421.tar.gz
Skip t/re/pat_{advanced,rt_report}.t under minitest, as they use %- and %+
miniperl can't load Tie::Hash::NamedCapture, and as minitest is run if you have build problems sufficiently severe that you can't bootstrap, it seems unlikely that the advanced and obscure functionality of the regexp engine is your most important concern. Hence better to skip it, than to try to bend it to "portability".
Diffstat (limited to 't')
-rw-r--r--t/re/pat_advanced.t4
-rw-r--r--t/re/pat_rt_report.t4
2 files changed, 8 insertions, 0 deletions
diff --git a/t/re/pat_advanced.t b/t/re/pat_advanced.t
index 5eb24c170a..b8ac3679c1 100644
--- a/t/re/pat_advanced.t
+++ b/t/re/pat_advanced.t
@@ -15,6 +15,10 @@ $| = 1;
BEGIN {
+ if (!defined &DynaLoader::boot_DynaLoader) {
+ print "1..0 # Skip miniperl can't load Tie::Hash::NamedCapture, need for %+ and %-\n";
+ exit 0;
+ }
chdir 't' if -d 't';
@INC = ('../lib','.');
do "re/ReTest.pl" or die $@;
diff --git a/t/re/pat_rt_report.t b/t/re/pat_rt_report.t
index 7331756028..d18e7ea986 100644
--- a/t/re/pat_rt_report.t
+++ b/t/re/pat_rt_report.t
@@ -15,6 +15,10 @@ $| = 1;
BEGIN {
+ if (!defined &DynaLoader::boot_DynaLoader) {
+ print "1..0 # Skip miniperl can't load Tie::Hash::NamedCapture, need for %+ and %-\n";
+ exit 0;
+ }
chdir 't' if -d 't';
@INC = ('../lib','.');
do "re/ReTest.pl" or die $@;