diff options
-rw-r--r-- | ext/PerlIO/encoding/t/nolooping.t | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/PerlIO/encoding/t/nolooping.t b/ext/PerlIO/encoding/t/nolooping.t index f3436ad9e9..846a24863b 100644 --- a/ext/PerlIO/encoding/t/nolooping.t +++ b/ext/PerlIO/encoding/t/nolooping.t @@ -1,5 +1,13 @@ #!perl -w +BEGIN { + use Config; + if ($Config{extensions} !~ /\bEncode\b/) { + print "1..0 # Skip: no Encode\n"; + exit 0; + } +} + use Test::More tests => 1; BEGIN { |