Skip Menu |

This queue is for tickets about the WWW-RobotRules-DBIC CPAN distribution.

Report information
The Basics
Id: 110798
Status: new
Priority: 0/
Queue: WWW-RobotRules-DBIC

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.01
Fixed in: (no value)



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
On 2015-12-30 15:43:56, SREZIC wrote: Show quoted text
> 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
More modules has to be declared as prerequisites, see: http://analysis.cpantesters.org/solved?distv=WWW-RobotRules-DBIC-0.01#qr%3A%28Can%27t%20locate%20\S%2Bpm%29