summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-06-13 17:08:45 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-06-13 17:08:45 +0000
commitcff1be36840a17022b50a6f295ed97efe19b975e (patch)
tree6542065560c93433d38a989feeb4f107d7ae7853
parent00676b7421b69e6202c7fa5b037e88ed62a1dee3 (diff)
downloadperl-cff1be36840a17022b50a6f295ed97efe19b975e.tar.gz
Encode simply needs more work on EBCDIC.
p4raw-id: //depot/perl@19768
-rw-r--r--ext/Encode/t/Unicode.t7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/Encode/t/Unicode.t b/ext/Encode/t/Unicode.t
index efb39844b3..0d5c6b9682 100644
--- a/ext/Encode/t/Unicode.t
+++ b/ext/Encode/t/Unicode.t
@@ -5,14 +5,16 @@
# do include non-BMP unicode characters -- Are you happy, jhi?
#
-our $ON_EBCDIC;
BEGIN {
require Config; import Config;
if ($Config{'extensions'} !~ /\bEncode\b/) {
print "1..0 # Skip: Encode was not built\n";
exit 0;
}
- $ON_EBCDIC = (ord("A") == 193) || $ARGV[0];
+ if (ord("A") == 193) {
+ print "1..0 # Skip: EBCDIC\n";
+ exit 0;
+ }
$| = 1;
}
@@ -87,7 +89,6 @@ is(index($@, 'UCS-2LE'), 0, "encode UCS-2LE: exception");
# SvGROW test for (en|de)code_xs
#
SKIP: {
- skip "Not on EBCDIC", 8 if $ON_EBCDIC;
my $utf8 = '';
for my $j (0,0x10){
for my $i (0..0xffff){