summaryrefslogtreecommitdiff
path: root/lib/open.t
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2009-12-29 17:17:21 +0100
committerH.Merijn Brand <h.m.brand@xs4all.nl>2009-12-29 17:17:21 +0100
commita80e323fbf3c4c14f0fce8c693c9a91eb9d69497 (patch)
tree0849efe5821fc9db62b2ad61832695eb734a7744 /lib/open.t
parent9f815e241cf04d04fc645970753438216a0ed024 (diff)
downloadperl-a80e323fbf3c4c14f0fce8c693c9a91eb9d69497.tar.gz
Guard open.t against Encode not being available
Similar changes should/could be made to cpan/CGI/t/utf8.t and ext/XS-APItest/t/utf16_to_utf8.t Reasoning is my smokes being built without Encode, because it takes too long.
Diffstat (limited to 'lib/open.t')
-rw-r--r--lib/open.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/open.t b/lib/open.t
index b062ff3a4e..1bf7dca377 100644
--- a/lib/open.t
+++ b/lib/open.t
@@ -181,6 +181,7 @@ EOE
}
SKIP: {
skip("no perlio", 2) unless (find PerlIO::Layer 'perlio');
+ skip("no Encode", 2) unless $Config{extensions} =~ m{\bEncode\b};
eval q[use Encode::Alias;use open ":std", ":locale"];
is($@, '', 'can use :std and :locale');