projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f815e2
)
Guard open.t against Encode not being available
author
H.Merijn Brand
<h.m.brand@xs4all.nl>
Tue, 29 Dec 2009 16:17:21 +0000
(17:17 +0100)
committer
H.Merijn Brand
<h.m.brand@xs4all.nl>
Tue, 29 Dec 2009 16:17:21 +0000
(17:17 +0100)
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.
lib/open.t
patch
|
blob
|
history
diff --git
a/lib/open.t
b/lib/open.t
index
b062ff3
..
1bf7dca
100644
(file)
--- 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');