develooper Front page | perl.qa | Postings from April 2015

Re: Test::More, what we hope to achieve doc.

Thread Previous | Thread Next
From:
Kent Fredric
Date:
April 13, 2015 08:46
Subject:
Re: Test::More, what we hope to achieve doc.
Message ID:
CAATnKFD2hT-XQZKbAfW=p12cKZsxpSJryce-ON3JG_sPMNWmFQ@mail.gmail.com
On 13 April 2015 at 20:21, Martin J. Evans <martin.evans@easysoft.com>
wrote:

>
> release I got:
>
> t/xxx-changes_updated.t ............ skipped: Only tested when releasing
> t/zzz-check-breaks.t ............... Can't locate object method
> "requirements_for_module" via package "CPAN::Meta::Requirements" at
> t/zzz-check-breaks.t line 43.
> t/zzz-check-breaks.t ............... Dubious, test returned 25 (wstat
> 6400, 0x1900)
> No subtests run
>
> Test Summary Report
> -------------------
> t/zzz-check-breaks.t             (Wstat: 6400 Tests: 0 Failed: 0)
>   Non-zero exit status: 25
>   Parse errors: No plan found in TAP output
> Files=30, Tests=214,  5 wallclock secs ( 0.35 usr  0.08 sys +  4.11 cusr
> 0.52 csys =  5.06 CPU)
> Result: FAIL
> Failed 1/30 test programs. 0/214 subtests failed.
>


A quick analysis says that that function call didn't exist before
CPAN::Meta::Requirements 2.120920:

https://metacpan.org/changes/release/DAGOLDEN/CPAN-Meta-2.120920#L7

So that test should call   CPAN::Meta::Requirements->VERSION(2.120920) in
the eval to skip it at install time if CPAN::Meta::Requirements is not new
enough.



-- 
Kent

*KENTNL* - https://metacpan.org/author/KENTNL

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About