Subject: | Skip test 12html if Encode is not available (5.6.2 issue) |
XML::LibXML seems to work fine with perl 5.6.2. But it does not pass the
test suite because Encode.pm is not available for it. So the test fails with
t/12html......................Can't locate Encode.pm in @INC (@INC
contains: /root/.cpan/build/XML-LibXML-1.63-ujStCH/blib/lib
/root/.cpan/build/XML-LibXML-1.63-ujStCH/blib/arch
/usr/local/perl-5.6.2/lib/5.6.2/i686-linux-64int
/usr/local/perl-5.6.2/lib/5.6.2/i686-linux-64int
/usr/local/perl-5.6.2/lib/5.6.2
/usr/local/perl-5.6.2/lib/site_perl/5.6.2/i686-linux-64int
/usr/local/perl-5.6.2/lib/site_perl/5.6.2/i686-linux-64int
/usr/local/perl-5.6.2/lib/site_perl/5.6.2
/usr/local/perl-5.6.2/lib/site_perl/5.6.2/i686-linux-64int
/usr/local/perl-5.6.2/lib/site_perl/5.6.2
/usr/local/perl-5.6.2/lib/site_perl .
/usr/local/perl-5.6.2/lib/5.6.2/i686-linux-64int
/usr/local/perl-5.6.2/lib/5.6.2
/usr/local/perl-5.6.2/lib/site_perl/5.6.2/i686-linux-64int
/usr/local/perl-5.6.2/lib/site_perl/5.6.2
/usr/local/perl-5.6.2/lib/site_perl .) at t/12html.t line 67.
BEGIN failed--compilation aborted at t/12html.t line 67.
dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-38
Failed 38/38 tests, 0.00% okay
That's a pity. Maybe you can skip this test when Encode is not
available. People who have to use 5.6.2 will be grateful for that.
Thanks,