Skip Menu |

This queue is for tickets about the Archive-SevenZip CPAN distribution.

Report information
The Basics
Id: 113548
Status: resolved
Priority: 0/
Queue: Archive-SevenZip

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

Bug Information
Severity: (no value)
Broken in:
  • 0.01
  • 0.02
  • 0.03
Fixed in: 0.04



Subject: Tests fail if Archive::Zip is not installed
Some of my smoker machines report the following failure: ... Can't locate Archive/Zip.pm in @INC (you may need to install the Archive::Zip module) (@INC contains: /tmpfs/.cpan-build-cpansand/2016040312/Archive-SevenZip-0.01-kp20g3/blib/lib /tmpfs/.cpan-build-cpansand/2016040312/Archive-SevenZip-0.01-kp20g3/blib/arch /home/cpansand/.cpan/build/2016040312/IPC-Run-0.94-Wn7OmF/blib/arch /home/cpansand/.cpan/build/2016040312/IPC-Run-0.94-Wn7OmF/blib/lib /home/cpansand/.cpan/build/2016040312/IPC-Run-0.94-Wn7OmF/blib/arch /home/cpansand/.cpan/build/2016040312/IPC-Run-0.94-Wn7OmF/blib/lib /opt/perl-5.22.0t/lib/site_perl/5.22.0/x86_64-linux-thread-multi /opt/perl-5.22.0t/lib/site_perl/5.22.0 /opt/perl-5.22.0t/lib/5.22.0/x86_64-linux-thread-multi /opt/perl-5.22.0t/lib/5.22.0 .) at t/common.pm line 138. BEGIN failed--compilation aborted at t/common.pm line 138. Compilation failed in require at t/02_main.t line 19. BEGIN failed--compilation aborted at t/02_main.t line 19. # Looks like your test exited with 2 before it could output anything. t/02_main.t .......... Dubious, test returned 2 (wstat 512, 0x200) Failed 83/83 subtests ... etc ... Probably a missing prereq, or a missing skip in the tests?
On 2016-04-03 11:19:55, SREZIC wrote: Show quoted text
> Some of my smoker machines report the following failure: > > ... > Can't locate Archive/Zip.pm in @INC (you may need to install the > Archive::Zip module) (@INC contains: /tmpfs/.cpan-build- > cpansand/2016040312/Archive-SevenZip-0.01-kp20g3/blib/lib > /tmpfs/.cpan-build-cpansand/2016040312/Archive-SevenZip-0.01- > kp20g3/blib/arch /home/cpansand/.cpan/build/2016040312/IPC-Run-0.94- > Wn7OmF/blib/arch /home/cpansand/.cpan/build/2016040312/IPC-Run-0.94- > Wn7OmF/blib/lib /home/cpansand/.cpan/build/2016040312/IPC-Run-0.94- > Wn7OmF/blib/arch /home/cpansand/.cpan/build/2016040312/IPC-Run-0.94- > Wn7OmF/blib/lib /opt/perl-5.22.0t/lib/site_perl/5.22.0/x86_64-linux- > thread-multi /opt/perl-5.22.0t/lib/site_perl/5.22.0 /opt/perl- > 5.22.0t/lib/5.22.0/x86_64-linux-thread-multi /opt/perl- > 5.22.0t/lib/5.22.0 .) at t/common.pm line 138. > BEGIN failed--compilation aborted at t/common.pm line 138. > Compilation failed in require at t/02_main.t line 19. > BEGIN failed--compilation aborted at t/02_main.t line 19. > # Looks like your test exited with 2 before it could output anything. > t/02_main.t .......... > Dubious, test returned 2 (wstat 512, 0x200) > Failed 83/83 subtests > ... etc ... > > Probably a missing prereq, or a missing skip in the tests?
Still failing, it seems that skipping is not done correctly: skip() was passed a non-numeric number of tests. Did you get the arguments backwards? at t/02_main.t line 22 skip() was passed a non-numeric number of tests. Did you get the arguments backwards? at t/05_tree.t line 15 And a skip() is missing in t/20_bug_github11.t
Thanks, fixed in 0.04