Skip Menu |

This queue is for tickets about the as CPAN distribution.

Report information
The Basics
Id: 129365
Status: resolved
Priority: 0/
Queue: as

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.08
Fixed in: 0.10



Subject: Test suite fails on some systems
On some of my smokers I see the following failure: ... # Failed test at t/01basic.t line 112. # got: '1' # expected: 'zippo' # Failed test at t/01basic.t line 113. # got: undef # expected: 'zippo' # Looks like you failed 2 tests of 36. t/01basic.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/36 subtests ... Statistical analysis is not helpful here and does not suggest any reasons for this problem.
On 2019-04-30 01:44:26, SREZIC wrote: Show quoted text
> On some of my smokers I see the following failure: > > ... > # Failed test at t/01basic.t line 112. > # got: '1' > # expected: 'zippo' > > # Failed test at t/01basic.t line 113. > # got: undef > # expected: 'zippo' > # Looks like you failed 2 tests of 36. > t/01basic.t .. > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/36 subtests > ... > > Statistical analysis is not helpful here and does not suggest any > reasons for this problem.
The problem is visible if running the test outside of CPAN.pm: ... $ perl5.30.0-RC1 -Mblib t/01basic.t 1..36 ok 1 - use as; ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 Can't locate Bar.pm in @INC (you may need to install the Bar module) (@INC contains: /usr/home/cpansand/.cpan/build/2019051809/as-0.08-0/blib/arch /usr/home/cpansand/.cpan/build/2019051809/as-0.08-0/blib/lib /usr/perl5.30.0-RC1p/lib/site_perl/5.30.0/amd64-freebsd /usr/perl5.30.0-RC1p/lib/site_perl/5.30.0 /usr/perl5.30.0-RC1p/lib/5.30.0/amd64-freebsd /usr/perl5.30.0-RC1p/lib/5.30.0) at /usr/home/cpansand/.cpan/build/2019051809/as-0.08-0/blib/lib/as.pm line 58. at t/01basic.t line 54. BEGIN failed--compilation aborted at t/01basic.t line 54. # Looks like your test exited with 2 just after 7. ... So probably the test needs just to add "use lib qw(.)" or so (not checked).
On 2019-05-18 05:30:20, SREZIC wrote: Show quoted text
> On 2019-04-30 01:44:26, SREZIC wrote:
> > On some of my smokers I see the following failure: > > > > ... > > # Failed test at t/01basic.t line 112. > > # got: '1' > > # expected: 'zippo' > > > > # Failed test at t/01basic.t line 113. > > # got: undef > > # expected: 'zippo' > > # Looks like you failed 2 tests of 36. > > t/01basic.t .. > > Dubious, test returned 2 (wstat 512, 0x200) > > Failed 2/36 subtests > > ... > > > > Statistical analysis is not helpful here and does not suggest any > > reasons for this problem.
> > The problem is visible if running the test outside of CPAN.pm: > > ... > $ perl5.30.0-RC1 -Mblib t/01basic.t > 1..36 > ok 1 - use as; > ok 2 > ok 3 > ok 4 > ok 5 > ok 6 > ok 7 > Can't locate Bar.pm in @INC (you may need to install the Bar module) > (@INC contains: /usr/home/cpansand/.cpan/build/2019051809/as-0.08- > 0/blib/arch /usr/home/cpansand/.cpan/build/2019051809/as-0.08- > 0/blib/lib /usr/perl5.30.0-RC1p/lib/site_perl/5.30.0/amd64-freebsd > /usr/perl5.30.0-RC1p/lib/site_perl/5.30.0 /usr/perl5.30.0- > RC1p/lib/5.30.0/amd64-freebsd /usr/perl5.30.0-RC1p/lib/5.30.0) at > /usr/home/cpansand/.cpan/build/2019051809/as-0.08-0/blib/lib/as.pm > line 58. > at t/01basic.t line 54. > BEGIN failed--compilation aborted at t/01basic.t line 54. > # Looks like your test exited with 2 just after 7. > ... > > So probably the test needs just to add "use lib qw(.)" or so (not > checked).
Looks like this is fixed in 0.10.