Skip Menu |

This queue is for tickets about the Try-Tiny CPAN distribution.

Report information
The Basics
Id: 121183
Status: resolved
Priority: 0/
Queue: Try-Tiny

People
Owner: ether [...] cpan.org
Requestors: andreas [...] andreasvoegele.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.28
Fixed in: (no value)



Subject: zzz-check-breaks.t fails if CPAN::Meta::Check is not installed
If CPAN::Meta::Check is not installed the Try::Tiny tests fail with the below error message. t/zzz-check-breaks.t .. 1..1 ok 1 # skip no conflicts module found to check against skip() needs to know $how_many tests are in the block at t/zzz-check-breaks.t line 20 ok 2 # skip This information-only test requires CPAN::Meta::Check 0.011 # Looks like you planned 1 test but ran 2.
On 2017-04-16 03:00:21, andreas@andreasvoegele.com wrote: Show quoted text
> If CPAN::Meta::Check is not installed the Try::Tiny tests fail with > the below error message. > > t/zzz-check-breaks.t .. > 1..1 > ok 1 # skip no conflicts module found to check against > skip() needs to know $how_many tests are in the block at t/zzz-check- > breaks.t line 20 > ok 2 # skip This information-only test requires CPAN::Meta::Check > 0.011 > # Looks like you planned 1 test but ran 2.
I cannot reproduce this, so I need more information. Could you please provide the full output from the test suite, most importantly the output from t/00-report-prereqs.t? Also could you tell me what OS/architecture you are using, and the version of perl? thank you.
From: andreas [...] andreasvoegele.com
On 2017-04-16 13:58:12, ETHER wrote: Show quoted text
> On 2017-04-16 03:00:21, andreas@andreasvoegele.com wrote:
> > If CPAN::Meta::Check is not installed the Try::Tiny tests fail with > > the below error message. > > > > t/zzz-check-breaks.t .. > > 1..1 > > ok 1 # skip no conflicts module found to check against > > skip() needs to know $how_many tests are in the block at t/zzz-check- > > breaks.t line 20 > > ok 2 # skip This information-only test requires CPAN::Meta::Check > > 0.011 > > # Looks like you planned 1 test but ran 2.
> > I cannot reproduce this, so I need more information. Could you please > provide the full output from the test suite, most importantly the > output from t/00-report-prereqs.t? Also could you tell me what > OS/architecture you are using, and the version of perl? thank you.
Please close this report. It turned out that there was a non-standard Test::More on the server. I installed Test::Simple from CPAN. Now everything works fine. I am sorry. Regards, Andreas
I have updated the check-breaks test to work a little more cleanly with different versions of Test::More.