Subject: | Module::Pluggable deprecation warning results in failed test |
I get the following output when I run "make test" with Perl 5.18.2:
/usr/bin/make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/*/*.t
# Failed test 'Test::FailWarnings should catch no warnings'
# at /usr/lib/perl5/5.18.2/deprecate.pm line 61.
# Warning was 'Module::Pluggable will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /home/abuild/rpmbuild/BUILD/Module-CPANTS-Analyse-0.96/blib/lib/Module/CPANTS/Kwalitee.pm, line 17.'
# Looks like you failed 1 test of 2.
t/00_load.t ..............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
# Failed test 'Test::FailWarnings should catch no warnings'
# at /usr/lib/perl5/5.18.2/deprecate.pm line 61.
# Warning was 'Module::Pluggable will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /home/abuild/rpmbuild/BUILD/Module-CPANTS-Analyse-0.96/blib/lib/Module/CPANTS/Kwalitee.pm, line 17.'
# Looks like you failed 1 test of 3.
t/05_testdir.t ...........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests
# Failed test 'Test::FailWarnings should catch no warnings'
# at /usr/lib/perl5/5.18.2/deprecate.pm line 61.
# Warning was 'Module::Pluggable will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /home/abuild/rpmbuild/BUILD/Module-CPANTS-Analyse-0.96/blib/lib/Module/CPANTS/Kwalitee.pm, line 17.'
# Looks like you failed 1 test of 4.
t/05_testfile.t ..........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
Module::Pluggable will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /home/abuild/rpmbuild/BUILD/Module-CPANTS-Analyse-0.96/blib/lib/Module/CPANTS/Kwalitee.pm, line 17.
t/analyse/manifest.t ..... ok
Module::Pluggable will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /home/abuild/rpmbuild/BUILD/Module-CPANTS-Analyse-0.96/blib/lib/Module/CPANTS/Kwalitee.pm, line 17.
t/analyse/pod.t .......... ok
Module::Pluggable will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /home/abuild/rpmbuild/BUILD/Module-CPANTS-Analyse-0.96/blib/lib/Module/CPANTS/Kwalitee.pm, line 17.
t/older_test_kwalitee.t .. ok
Module::Pluggable will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /home/abuild/rpmbuild/BUILD/Module-CPANTS-Analyse-0.96/blib/lib/Module/CPANTS/Kwalitee.pm, line 17.
t/x_cpants.t ............. ok
Test Summary Report
-------------------
t/00_load.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/05_testdir.t (Wstat: 256 Tests: 3 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/05_testfile.t (Wstat: 256 Tests: 4 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=7, Tests=50, 3 wallclock secs ( 0.04 usr 0.03 sys + 2.62 cusr 0.39 csys = 3.08 CPU)
Result: FAIL
Failed 3/7 test programs. 3/50 subtests failed.
Makefile:990: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255