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?