summaryrefslogtreecommitdiff
path: root/t/run
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-09-23 11:28:51 +0100
committerNicholas Clark <nick@ccl4.org>2009-09-23 11:28:51 +0100
commite27b5b51275a893e82bce85334679ee38d3d6bf8 (patch)
tree64c636963252870939f00637f84e924d90eb5040 /t/run
parentb0e687f777617f7ff223559dbda04c4f53864b19 (diff)
downloadperl-e27b5b51275a893e82bce85334679ee38d3d6bf8.tar.gz
For miniperl, disable PERL_UNICODE and -C.
This allows a build to complete with PERL_UNICODE set and a UTF-8 locale. Without this there's a bootstrapping problem, as miniperl can't load the UTF-8 components of the regexp engine, because they're not yet built.
Diffstat (limited to 't/run')
-rw-r--r--t/run/switchC.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/run/switchC.t b/t/run/switchC.t
index 7aabbc0c80..213bdbc3c9 100644
--- a/t/run/switchC.t
+++ b/t/run/switchC.t
@@ -9,6 +9,11 @@ BEGIN {
print "1..0 # Skip: not perlio\n";
exit 0;
}
+ if ($ENV{PERL_CORE_MINITEST}) {
+ print "1..0 # Skip : -C and \$ENV{PERL_UNICODE} are disabled on miniperl\n";
+ exit 0;
+ }
+
}
BEGIN { require "./test.pl"; }