In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/a80e323fbf3c4c14f0fce8c693c9a91eb9d69497?hp=9f815e241cf04d04fc645970753438216a0ed024>

- Log -----------------------------------------------------------------
commit a80e323fbf3c4c14f0fce8c693c9a91eb9d69497
Author: H.Merijn Brand <h.m.br...@xs4all.nl>
Date:   Tue Dec 29 17:17:21 2009 +0100

    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.
-----------------------------------------------------------------------

Summary of changes:
 lib/open.t |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/open.t b/lib/open.t
index b062ff3..1bf7dca 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');

--
Perl5 Master Repository

Reply via email to