Subject: | Test suite fails if DateTime::Format::Pg or DateTime::Format::MySQL are missing |
See subject. Here's a sample report with missing Pg module: http://www.cpantesters.org/cpan/report/b2b3e870-749c-11e7-b916-f8b178e4960a
If the MySQL module is missing, then the test log looks like following:
...
# Failed test 'use Class::DBI::Plugin::DateTime::MySQL;'
# at t/01-sanity.t line 11.
# Tried to use 'Class::DBI::Plugin::DateTime::MySQL'.
# Error: Can't locate DateTime/Format/MySQL.pm in @INC (you may need to install the DateTime::Format::MySQL module) (@INC contains: ... .) at /home/cpansand/.cpan/build/2019122510/Class-DBI-Plugin-DateTime-0.05-13/blib/lib/Class/DBI/Plugin/DateTime/MySQL.pm line 9.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2019122510/Class-DBI-Plugin-DateTime-0.05-13/blib/lib/Class/DBI/Plugin/DateTime/MySQL.pm line 9.
# Compilation failed in require at t/01-sanity.t line 11.
# BEGIN failed--compilation aborted at t/01-sanity.t line 11.
# Looks like you failed 2 tests of 2.
t/01-sanity.t ..........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
...