Subject: | Undeclared dependency Image::Magick |
If Image::Magick is not installed, then the test suite fails, generating unnecessary fail reports for CPAN Testers:
...
# Failed test 'use Image::Magick::Info;'
# at t/1.t line 9.
# Tried to use 'Image::Magick::Info'.
# Error: Can't locate Image/Magick.pm in @INC (you may need to install the Image::Magick module) (@INC contains: /home/cpansand/.cpan/build/2017041512/Image-Magick-Info-0.03-U34ISN/blib/lib /home/cpansand/.cpan/build/2017041512/Image-Magick-Info-0.03-U34ISN/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/2017041512/Image-Magick-Info-0.03-U34ISN/blib/lib/Image/Magick/Info.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
...
Probably it's best to just put Image::Magick into Makefile.PL's PREREQ_PM hash.