summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-10-02 21:17:23 -0600
committerKarl Williamson <khw@cpan.org>2019-10-09 10:34:19 -0600
commitc18975d40b9a390ffb11b80a04bf1fa600b3689e (patch)
tree6f9fa60a7c9a7f277ff8280045a6d5613e4f40c5 /lib
parent89998163f28a580f2d46628cc552ab0f97d7b88e (diff)
downloadperl-c18975d40b9a390ffb11b80a04bf1fa600b3689e.tar.gz
lib/ExtUtils/t/Embed.t: Skip on EBCDIC
This is not currently implemented for EBCDIC
Diffstat (limited to 'lib')
-rw-r--r--lib/ExtUtils/t/Embed.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ExtUtils/t/Embed.t b/lib/ExtUtils/t/Embed.t
index 59d792115a..a5cf2060e1 100644
--- a/lib/ExtUtils/t/Embed.t
+++ b/lib/ExtUtils/t/Embed.t
@@ -18,6 +18,11 @@ if ( $Config{usecrosscompile} && !can_run($cc) ) {
print "1..0 # SKIP Cross-compiling and the target doesn't have $cc";
exit;
}
+
+if (ord("A") != 65) {
+ print "1..0 # SKIP EBCDIC platform doesn't currently work";
+ exit;
+}
open(my $fh,">embed_test.c") || die "Cannot open embed_test.c:$!";
print $fh <DATA>;
close($fh);