From: Jarkko Hietaniemi Date: Fri, 13 Jul 2001 11:49:50 +0000 (+0000) Subject: Test the encoding transform only iff we have PerlIO, X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9ba8831b3b2daae9ee9c5fa1535754eb048b8f9b;p=p5sagit%2Fp5-mst-13.2.git Test the encoding transform only iff we have PerlIO, noticed by H. Merijn Brand. p4raw-id: //depot/perl@11348 --- diff --git a/ext/PerlIO/t/encoding.t b/ext/PerlIO/t/encoding.t index 342a315..debd2bc 100644 --- a/ext/PerlIO/t/encoding.t +++ b/ext/PerlIO/t/encoding.t @@ -1,3 +1,14 @@ +#!./perl + +BEGIN { + chdir 't' if -d 't'; + @INC = '../lib'; + unless (find PerlIO::Layer 'perlio') { + print "1..0 # Skip: not perlio\n"; + exit 0; + } +} + print "1..8\n"; my $grk = "grk$$";