From 51dc4578288f8c29eb2ac4c48011b5b854d10317 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Thu, 1 May 2003 09:52:52 +0000 Subject: [PATCH] miniperl cannot handle layers.t. p4raw-id: //depot/perl@19372 --- t/io/layers.t | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/t/io/layers.t b/t/io/layers.t index 8f70392..3060da5 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)$/) { -- 2.7.4