Subject: | Undeclared dependency DBI |
Tests fail if DBI is not installed:
...
# Failed test 'require Autodia::Handler::DBI;'
# at (eval 20) line 1.
# Tried to require 'Autodia::Handler::DBI'.
# Error: Can't locate DBI.pm in @INC (you may need to install the DBI module) (@INC contains: /home/cpansand/.cpan/build/2018062318/Autodia-2.14-0/blib/lib /home/cpansand/.cpan/build/2018062318/Autodia-2.14-0/blib/arch /opt/perl-5.28.0t/lib/site_perl/5.28.0/x86_64-linux-thread-multi /opt/perl-5.28.0t/lib/site_perl/5.28.0 /opt/perl-5.28.0t/lib/5.28.0/x86_64-linux-thread-multi /opt/perl-5.28.0t/lib/5.28.0 .) at /home/cpansand/.cpan/build/2018062318/Autodia-2.14-0/blib/lib/Autodia/Handler/DBI.pm line 24.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2018062318/Autodia-2.14-0/blib/lib/Autodia/Handler/DBI.pm line 24.
# Compilation failed in require at (eval 21) line 2.
# Looks like you failed 1 test of 10.
t/autodia.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/10 subtests
...
Either it needs to be declared as a dependency, or the failing test should be skipped if DBI is not installed.