summaryrefslogtreecommitdiff
path: root/t/pragma
diff options
context:
space:
mode:
authorChip Salzenberg <chip@perl.com>1997-02-18 10:22:49 +1200
committerChip Salzenberg <chip@atlantic.net>1997-02-22 04:41:00 +1200
commitb002077ab466278de0992f4fa3a3355ea90fa690 (patch)
treeaa6ed5fd721ba3be767adc106c3c372bc02c3dc2 /t/pragma
parentcfa4f241474ab59f4e40e1ae0c286d51ff246f4a (diff)
downloadperl-b002077ab466278de0992f4fa3a3355ea90fa690.tar.gz
Don't run locale test if -DNO_LOCALE
Diffstat (limited to 't/pragma')
-rwxr-xr-xt/pragma/locale.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/pragma/locale.t b/t/pragma/locale.t
index 4e6197769b..298e5bab80 100755
--- a/t/pragma/locale.t
+++ b/t/pragma/locale.t
@@ -3,6 +3,11 @@
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
+ require Config; import Config;
+ if ($Config{ccflags} =~ /\bD?NO_LOCALE\b/) {
+ print "1..0\n";
+ exit;
+ }
}
use strict;