Subject: | Undeclared dependency Image::Magick |
Tests fail if Image::Magick is not installed:
...
# Failed test 'use Image::Magick::Brand;'
# at t/1.t line 9.
# Tried to use 'Image::Magick::Brand'.
# Error: Can't locate Image/Magick.pm in @INC (you may need to install the Image::Magick module) (@INC contains: /home/cpansand/.cpan/build/2018060216/Image-Magick-Brand-0.01-IufUS1/blib/lib /home/cpansand/.cpan/build/2018060216/Image-Magick-Brand-0.01-IufUS1/blib/arch /usr/perl5.20.1Dp/lib/site_perl/5.20.1/amd64-freebsd-ld /usr/perl5.20.1Dp/lib/site_perl/5.20.1 /usr/perl5.20.1Dp/lib/5.20.1/amd64-freebsd-ld /usr/perl5.20.1Dp/lib/5.20.1 .) at /home/cpansand/.cpan/build/2018060216/Image-Magick-Brand-0.01-IufUS1/blib/lib/Image/Magick/Brand.pm line 7.
# Compilation failed in require at t/1.t line 9.
# BEGIN failed--compilation aborted at t/1.t line 9.
# Looks like you failed 1 test of 1.
t/1.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
...
While for humans it's quite clear that Image::Magick needs to be installed in this situation, automated testers or installers cannot; this is causing unnecessary fail reports at CPAN Testers, for example.