Subject: | Undeclared dependency Image::LibRSVG |
t/Wx-Perl-IconDepot.t fails if Image::LibRSVG is not installed:
...
# Failed test 'use Wx::Perl::IconDepot;'
# at t/Wx-Perl-IconDepot.t line 6.
# Tried to use 'Wx::Perl::IconDepot'.
# Error: Can't locate Image/LibRSVG.pm in @INC (you may need to install the Image::LibRSVG module) (@INC contains: /tmpfs/.cpan-build-cpansand/2017101406/Wx-Perl-IconDepot-0.01-1/blib/lib /tmpfs/.cpan-build-cpansand/2017101406/Wx-Perl-IconDepot-0.01-1/blib/arch /opt/perl-5.26.0t/lib/site_perl/5.26.0/x86_64-linux-thread-multi /opt/perl-5.26.0t/lib/site_perl/5.26.0 /opt/perl-5.26.0t/lib/5.26.0/x86_64-linux-thread-multi /opt/perl-5.26.0t/lib/5.26.0 .) at /tmpfs/.cpan-build-cpansand/2017101406/Wx-Perl-IconDepot-0.01-1/blib/lib/Wx/Perl/IconDepot.pm line 31.
# BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2017101406/Wx-Perl-IconDepot-0.01-1/blib/lib/Wx/Perl/IconDepot.pm line 31.
# Compilation failed in require at t/Wx-Perl-IconDepot.t line 6.
# BEGIN failed--compilation aborted at t/Wx-Perl-IconDepot.t line 6.
Can't locate object method "new" via package "Wx::Perl::IconDepot" at t/Wx-Perl-IconDepot.t line 22.
# Looks like your test exited with 2 just after 1.
t/Wx-Perl-IconDepot.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 205/205 subtests
...