Subject: | Test::Exception dependency not correctly specified |
Some of my smokers fail to run successfully the test suite:
...
Can't locate Test/Exception.pm in @INC (you may need to install the Test::Exception module) (@INC contains: /usr/home/cpansand/.cpan/build/2020091721/Hash-Digger-0.0.3-2/blib/lib /usr/home/cpansand/.cpan/build/2020091721/Hash-Digger-0.0.3-2/blib/arch /usr/local/lib/perl5/site_perl/mach/5.32 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.32/mach /usr/local/lib/perl5/5.32 .) at t/01-tests.t line 6.
BEGIN failed--compilation aborted at t/01-tests.t line 6.
# Looks like your test exited with 2 before it could output anything.
t/01-tests.t .........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 23/23 subtests
...
I see that cpanfile has a Test::Exception dependency specified --- but cpanfile is not used by all CPAN installers, especially not by CPAN.pm. Neither Makefile.PL nor the META.* files list this dependency.