summaryrefslogtreecommitdiff
path: root/lib/Unicode
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2004-06-18 09:43:12 +0000
committerNicholas Clark <nick@ccl4.org>2004-06-18 09:43:12 +0000
commit25a47338fa155bc151c8e5863827e694dd2d036d (patch)
tree67c833bcfcac8f6d1b7b4672eea21b255a0674b8 /lib/Unicode
parentb3bfad09cf42ab83b169135721c4f1e81f792cde (diff)
downloadperl-25a47338fa155bc151c8e5863827e694dd2d036d.tar.gz
Unicode::UCD uses Storable, so we can't test if Storable isn't built.
p4raw-id: //depot/perl@22949
Diffstat (limited to 'lib/Unicode')
-rw-r--r--lib/Unicode/UCD.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Unicode/UCD.t b/lib/Unicode/UCD.t
index f0a29add5d..a36902caca 100644
--- a/lib/Unicode/UCD.t
+++ b/lib/Unicode/UCD.t
@@ -1,3 +1,4 @@
+#!perl -w
BEGIN {
if (ord("A") == 193) {
print "1..0 # Skip: EBCDIC\n";
@@ -6,6 +7,11 @@ BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
@INC = "::lib" if $^O eq 'MacOS'; # module parses @INC itself
+ require Config; import Config;
+ if ($Config{'extensions'} !~ /\bStorable\b/) {
+ print "1..0 # Skip: Storable was not built; Unicode::UCD uses Storable\n";
+ exit 0;
+ }
}
use strict;