On 2013-08-27 00:52:41, DOY wrote:
Show quoted text> $ make test
> PERL_DL_NONLAZY=1 /home/doy/perl5/perlbrew/perls/perl-5.18/bin/perl "-
> MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
> 'blib/arch')" t/*.t
> t/LibXML.t ........ ok
> t/MSXML.t ......... ok
> t/pod.t ........... ok
> t/pod_coverage.t .. 1/5
> # Failed test 'Pod coverage on XML::Validate::MSXML'
> # at /home/doy/perl5/perlbrew/perls/perl-
> 5.18/lib/site_perl/5.18.0/Test/Pod/Coverage.pm line 126.
> # XML::Validate::MSXML: requiring 'XML::Validate::MSXML' failed
>
> # Failed test 'Pod coverage on XML::Validate::Xerces'
> # at /home/doy/perl5/perlbrew/perls/perl-
> 5.18/lib/site_perl/5.18.0/Test/Pod/Coverage.pm line 126.
> # XML::Validate::Xerces: requiring 'XML::Validate::Xerces' failed
> # Looks like you failed 2 tests of 5.
> t/pod_coverage.t .. Dubious, test returned 2 (wstat 512, 0x200)
> Failed 2/5 subtests
> t/Validate.t ...... ok
> t/Xerces.t ........ ok
>
> Test Summary Report
> -------------------
> t/pod_coverage.t (Wstat: 512 Tests: 5 Failed: 2)
> Failed tests: 2-3
> Non-zero exit status: 2
> Files=6, Tests=96, 1 wallclock secs ( 0.10 usr 0.01 sys + 0.79 cusr
> 0.08 csys = 0.98 CPU)
> Result: FAIL
> Failed 1/6 test programs. 2/96 subtests failed.
> make: *** [test_dynamic] Error 255
>
> =========================
>
> Pod tests should not be run by the end user.
Additionally the problem is that these tests should not run if the requirements are not met (here: the optional modules Win32::OLE and/or XML::Xerces are not installed):
$ perl5.22.1-RC4 -Mblib -c blib/lib/XML/Validate/MSXML.pm
Can't locate Win32/OLE.pm in @INC (you may need to install the Win32::OLE module) (@INC contains: /tmpfs/.cpan-build/2015121309/XML-Validate-1.025-6_EF2G/blib/arch /tmpfs/.cpan-build/2015121309/XML-Validate-1.025-6_EF2G/blib/lib /opt/perl-5.22.1-RC4/lib/site_perl/5.22.1/x86_64-linux /opt/perl-5.22.1-RC4/lib/site_perl/5.22.1 /opt/perl-5.22.1-RC4/lib/5.22.1/x86_64-linux /opt/perl-5.22.1-RC4/lib/5.22.1 .) at blib/lib/XML/Validate/MSXML.pm line 6.
BEGIN failed--compilation aborted at blib/lib/XML/Validate/MSXML.pm line 6.
$ perl5.22.1-RC4 -Mblib -c blib/lib/XML/Validate/Xerces.pm
Can't locate XML/Xerces.pm in @INC (you may need to install the XML::Xerces module) (@INC contains: /tmpfs/.cpan-build/2015121309/XML-Validate-1.025-6_EF2G/blib/arch /tmpfs/.cpan-build/2015121309/XML-Validate-1.025-6_EF2G/blib/lib /opt/perl-5.22.1-RC4/lib/site_perl/5.22.1/x86_64-linux /opt/perl-5.22.1-RC4/lib/site_perl/5.22.1 /opt/perl-5.22.1-RC4/lib/5.22.1/x86_64-linux /opt/perl-5.22.1-RC4/lib/5.22.1 .) at blib/lib/XML/Validate/Xerces.pm line 5.
BEGIN failed--compilation aborted at blib/lib/XML/Validate/Xerces.pm line 5.
-> Consequently the pod coverage test fails:
$ perl5.22.1-RC4 -Mblib t/pod_coverage.t
1..5
ok 1 - Pod coverage on XML::Validate
ok 2 - Pod coverage on XML::Validate::LibXML
ok 3 - Pod coverage on XML::Validate::Base
not ok 4 - Pod coverage on XML::Validate::MSXML
# Failed test 'Pod coverage on XML::Validate::MSXML'
# at /opt/perl-5.22.1-RC4/lib/site_perl/5.22.1/Test/Pod/Coverage.pm line 133.
# XML::Validate::MSXML: requiring 'XML::Validate::MSXML' failed
not ok 5 - Pod coverage on XML::Validate::Xerces
# Failed test 'Pod coverage on XML::Validate::Xerces'
# at /opt/perl-5.22.1-RC4/lib/site_perl/5.22.1/Test/Pod/Coverage.pm line 133.
# XML::Validate::Xerces: requiring 'XML::Validate::Xerces' failed
# Looks like you failed 2 tests of 5.
(Probably the same is valid for XML::Validate::LibXML if XML::LibXML is missing)