summaryrefslogtreecommitdiff
path: root/t/op/lc.t
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-09-02 00:55:24 -0700
committerFather Chrysostomos <sprout@cpan.org>2014-09-02 20:11:18 -0700
commit8e979a257c15220866df04ae6bce5572e6e0f07d (patch)
treee1d6d1ef1923a494ff4b3bacc497985af7b7b189 /t/op/lc.t
parent468960c36d2420c5c128862b1b212a3dd1ea8ad0 (diff)
downloadperl-8e979a257c15220866df04ae6bce5572e6e0f07d.tar.gz
Skip lc.t under miniperl unless uni tables exist
The earlier commit on this branch to fix up lc.t under minitest was written before 2db3e09128 made its way into blead. Now, attempts to load Unicode tables under miniperl croak instead of failing silently.
Diffstat (limited to 't/op/lc.t')
-rw-r--r--t/op/lc.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/op/lc.t b/t/op/lc.t
index 542ba3da97..bd843dceaa 100644
--- a/t/op/lc.t
+++ b/t/op/lc.t
@@ -8,6 +8,10 @@ BEGIN {
@INC = () unless is_miniperl();
unshift @INC, '../lib';
require Config; import Config;
+ if (is_miniperl()) {
+ skip_all_if_miniperl("Unicode tables not built yet")
+ unless eval 'require "unicore/Heavy.pl"';
+ }
require './charset_tools.pl';
require './loc_tools.pl'; # Contains find_utf8_ctype_locale()
}