summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-05-01 09:52:52 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-05-01 09:52:52 +0000
commit51dc4578288f8c29eb2ac4c48011b5b854d10317 (patch)
treec4bb77aaee8dc37fa0d05d7ad2081681b5c03c2f /t
parentc8fc8fb0dd5fe8024295134e4cd63a3f63734f70 (diff)
downloadperl-51dc4578288f8c29eb2ac4c48011b5b854d10317.tar.gz
miniperl cannot handle layers.t.
p4raw-id: //depot/perl@19372
Diffstat (limited to 't')
-rw-r--r--t/io/layers.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/io/layers.t b/t/io/layers.t
index 8f70392434..3060da5750 100644
--- a/t/io/layers.t
+++ b/t/io/layers.t
@@ -10,6 +10,11 @@ BEGIN {
print "1..0 # Skip: not perlio\n";
exit 0;
}
+ eval 'use Encode';
+ if ($@ =~ /dynamic loading not available/) {
+ print "1..0 # miniperl cannot load Encode\n";
+ exit 0;
+ }
# Makes testing easier.
$ENV{PERLIO} = 'stdio' if exists $ENV{PERLIO} && $ENV{PERLIO} eq '';
if (exists $ENV{PERLIO} && $ENV{PERLIO} !~ /^(stdio|perlio|mmap)$/) {