summaryrefslogtreecommitdiff
path: root/t/io/layers.t
diff options
context:
space:
mode:
Diffstat (limited to 't/io/layers.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)$/) {