Subject: | test failed on Catalyst 5.80003. |
testing on Catalyst 5.80003. test failed.
"use base" order is important.
I modified source bit.
POD.pm
before:
use base "Catalyst::Controller";
...
use base "Catalyst::Controller::POD::Search";
after:
use base "Catalyst::Controller::POD::Search";
use base "Catalyst::Controller";
testing successful.
thanks useful module!
cpan[8]> test Catalyst::Controller::POD
Running test for module 'Catalyst::Controller::POD'
Running make for P/PE/PERLER/Catalyst-Controller-POD-0.02002.tar.gz
Prepending
/Users/bokutin/.cpan/build/Attribute-Util-1.04-SK6T9L/blib/arch
/Users/bokutin/.cpan/build/Attribute-Util-1.04-SK6T9L/blib/lib
/Users/bokutin/.cpan/build/Test-JSON-0.06-2LkqEv/blib/arch
/Users/bokutin/.cpan/build/Test-JSON-0.06-2LkqEv/blib/lib to PERL5LIB
for 'get'
Has already been unwrapped into directory
/Users/bokutin/.cpan/build/Catalyst-Controller-POD-0.02002-QgQ9X5
Prepending
/Users/bokutin/.cpan/build/Attribute-Util-1.04-SK6T9L/blib/arch
/Users/bokutin/.cpan/build/Attribute-Util-1.04-SK6T9L/blib/lib
/Users/bokutin/.cpan/build/Test-JSON-0.06-2LkqEv/blib/arch
/Users/bokutin/.cpan/build/Test-JSON-0.06-2LkqEv/blib/lib to PERL5LIB
for 'make'
Has already been made
Prepending
/Users/bokutin/.cpan/build/Attribute-Util-1.04-SK6T9L/blib/arch
/Users/bokutin/.cpan/build/Attribute-Util-1.04-SK6T9L/blib/lib
/Users/bokutin/.cpan/build/Test-JSON-0.06-2LkqEv/blib/arch
/Users/bokutin/.cpan/build/Test-JSON-0.06-2LkqEv/blib/lib to PERL5LIB
for 'test'
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ......... ok
t/01-run-testapp.t .. Could not load class (TestApp) because : Couldn't
instantiate component "TestApp::Controller::Docs", "Inconsistent
hierarchy during C3 merge of class 'Catalyst::Controller::POD':
current merge results [
Catalyst::Controller::POD,
]
merging failed on 'Catalyst::Controller' at
/Library/Perl/5.8.8/darwin-thread-multi-2level/Class/C3/XS.pm line 53."
at /Library/Perl/5.8.8/darwin-thread-multi-2level/Class/MOP.pm line 136
Compilation failed in require at
/Library/Perl/5.8.8/darwin-thread-multi-2level/Class/MOP.pm line 136.
at /Library/Perl/5.8.8/darwin-thread-multi-2level/Class/MOP.pm line 122
Class::MOP::load_first_existing_class('TestApp') called at
/Library/Perl/5.8.8/darwin-thread-multi-2level/Class/MOP.pm line 142
Class::MOP::load_class('TestApp') called at
/Library/Perl/5.8.8/Test/WWW/Mechanize/Catalyst.pm line 225
Test::WWW::Mechanize::Catalyst::import('Test::WWW::Mechanize::Catalyst',
'TestApp') called at t/01-run-testapp.t line 7
main::BEGIN() called at
/Library/Perl/5.8.8/Test/WWW/Mechanize/Catalyst.pm line 7
eval {...} called at
/Library/Perl/5.8.8/Test/WWW/Mechanize/Catalyst.pm line 7
BEGIN failed--compilation aborted at t/01-run-testapp.t line 7.
# Looks like your test exited with 255 before it could output anything.
t/01-run-testapp.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 12/12 subtests
Test Summary Report
-------------------
t/01-run-testapp.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 12 tests but ran 0.
Files=2, Tests=1, 2 wallclock secs ( 0.02 usr 0.02 sys + 1.39 cusr
0.16 csys = 1.59 CPU)
Result: FAIL
Failed 1/2 test programs. 0/1 subtests failed.
make: *** [test_dynamic] Error 255
PERLER/Catalyst-Controller-POD-0.02002.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports PERLER/Catalyst-Controller-POD-0.02002.tar.gz
Failed during this command:
PERLER/Catalyst-Controller-POD-0.02002.tar.gz: make_test NO