summaryrefslogtreecommitdiff
path: root/t/test.pl
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-09-02 09:33:54 -0700
committerFather Chrysostomos <sprout@cpan.org>2014-09-02 20:11:22 -0700
commit2b08d1e271a66b75d93ee0a86284c36a21036e57 (patch)
treef20671adc7d8da900963f035b1461f0ebb1a15cf /t/test.pl
parent43ece5b1252b7eff2edb7ddd890597973f68a388 (diff)
downloadperl-2b08d1e271a66b75d93ee0a86284c36a21036e57.tar.gz
skip_all_without_unicode_tables
Diffstat (limited to 't/test.pl')
-rw-r--r--t/test.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/test.pl b/t/test.pl
index 60ddf6382d..d9a3220f01 100644
--- a/t/test.pl
+++ b/t/test.pl
@@ -164,6 +164,13 @@ sub skip_all_without_config {
}
}
+sub skip_all_without_unicode_tables { # (but only under miniperl)
+ if (is_miniperl()) {
+ skip_all_if_miniperl("Unicode tables not built yet")
+ unless eval 'require "unicore/Heavy.pl"';
+ }
+}
+
sub find_git_or_skip {
my ($source_dir, $reason);
if (-d '.git') {