Skip Menu |

This queue is for tickets about the Test-Kwalitee CPAN distribution.

Report information
The Basics
Id: 84900
Status: resolved
Priority: 0/
Queue: Test-Kwalitee

People
Owner: ether [...] cpan.org
Requestors: paul [...] city-fan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.03
Fixed in: 1.04



Subject: t/00-check-deps.t and t/00-compile.t should require Test::More 0.94
These tests use "is_passing" from Test::Builder. This was first introduced in version 0.89_01 but was not included in a "stable" release until version 0.94. Hence the test will fail with older versions, like this with Test::More 0.92: $ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t Can't locate object method "is_passing" via package "Test::Builder" at t/00-check-deps.t line 7. # Tests were run but no plan was declared and done_testing() was not seen. t/00-check-deps.t .... Dubious, test returned 255 (wstat 65280, 0xff00) All 12 subtests passed Can't locate object method "is_passing" via package "Test::Builder" at t/00-compile.t line 73. # Looks like your test exited with 2 just after 1. t/00-compile.t ....... Dubious, test returned 2 (wstat 512, 0x200) All 1 subtests passed Name "YAML::LoadCode" used only once: possible typo at /usr/lib/perl5/vendor_perl/5.10.0/YAML/Any.pm line 79. Name "YAML::UseCode" used only once: possible typo at /usr/lib/perl5/vendor_perl/5.10.0/YAML/Any.pm line 79. t/01-kwalitee.t ...... ok t/02-include.t ....... ok t/03-exclude.t ....... ok t/04-bare-include.t .. ok t/05-bare-exclude.t .. ok Test Summary Report ------------------- t/00-check-deps.t (Wstat: 65280 Tests: 12 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/00-compile.t (Wstat: 512 Tests: 1 Failed: 0) Non-zero exit status: 2 Files=7, Tests=63, 4 wallclock secs ( 0.03 usr 0.01 sys + 3.09 cusr 0.20 csys = 3.33 CPU) Result: FAIL Failed 2/7 test programs. 0/63 subtests failed. make: *** [test_dynamic] Error 255
On Sun Apr 28 05:01:35 2013, paul@city-fan.org wrote: Show quoted text
> These tests use "is_passing" from Test::Builder. This was first > introduced in version 0.89_01 but was not included in a "stable" > release until version 0.94. Hence the test will fail with older > versions, like this with Test::More 0.92:
Thanks for the report. These tests are both auto-generated via dzil plugins, so they should be patched there, and then a new version of this dist released with those updated versions. I'll forward the tickets on and leave this one open as a dependency.