Subject: | t/01-live.t fails if HTTP::Server::Simple::CGI is not installed |
Probably HTTP::Server::Simple::CGI needs to be declared as a prerequisite, otherwise the test suite fails:
Base class package "HTTP::Server::Simple::CGI" is empty.
(Perhaps you need to 'use' the module which defines that package first,
or make that module available in @INC (@INC contains: /home/cpansand/.cpan/build/2015123021/WWW-RobotRules-DBIC-0.01-X8fmrN/t/lib /home/cpansand/.cpan/build/2015123021/WWW-RobotRules-DBIC
-0.01-X8fmrN/blib/lib /home/cpansand/.cpan/build/2015123021/WWW-RobotRules-DBIC-0.01-X8fmrN/blib/arch /usr/local/lib/perl5/site_perl/mach/5.20 /usr/local/lib/perl5/site_perl /usr/local/lib/pe
rl5/5.20/mach /usr/local/lib/perl5/5.20 /usr/local/lib/perl5/site_perl/5.20 /usr/local/lib/perl5/site_perl/5.20/mach .).
at /home/cpansand/.cpan/build/2015123021/WWW-RobotRules-DBIC-0.01-X8fmrN/t/lib/TestHttpd.pm line 2.
BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2015123021/WWW-RobotRules-DBIC-0.01-X8fmrN/t/lib/TestHttpd.pm line 2.
Compilation failed in require at /home/cpansand/.cpan/build/2015123021/WWW-RobotRules-DBIC-0.01-X8fmrN/t/server.pl line 9.
BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2015123021/WWW-RobotRules-DBIC-0.01-X8fmrN/t/server.pl line 9.
# Failed test at t/01-live.t line 40.
# got: '500'
# expected: '200'
# Failed test at t/01-live.t line 40.
# got: '500'
# expected: '403'
# Failed test at t/01-live.t line 40.
# got: '500'
# expected: '200'
# Failed test at t/01-live.t line 40.
# got: '500'
# expected: '200'
# Looks like you failed 4 tests of 6.
t/01-live.t ..
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/6 subtests