Skip Menu |

This queue is for tickets about the Catalyst-Model-XMLRPC CPAN distribution.

Report information
The Basics
Id: 37415
Status: new
Priority: 0/
Queue: Catalyst-Model-XMLRPC

People
Owner: Nobody in particular
Requestors: cweyl [...] alumni.drew.edu
Cc:
AdminCc:

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



Subject: Live tests fail in 0.04 when $config not passed to ->new
Date: Fri, 4 Jul 2008 09:22:11 -0700
To: bug-Catalyst-Model-XMLRPC [...] rt.cpan.org
From: "Chris Weyl" <cweyl [...] alumni.drew.edu>
E.g.: [cweyl@athena Catalyst-Model-XMLRPC-0.04]$ TEST_POD=1 XMLRPC_TEST_LIVE=1 make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/01use............ok t/02pod............ok t/03podcoverage....ok t/04execute........Can't use an undefined value as a HASH reference at /usr/lib/perl5/vendor_perl/5.10.0/Catalyst/Component.pm line 93. # Looks like your test died before it could output anything. t/04execute........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-3 Failed 3/3 tests, 0.00% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/04execute.t 255 65280 3 6 1-3 Failed 1/4 test scripts. 3/9 subtests failed. Files=4, Tests=9, 1 wallclock secs ( 0.40 cusr + 0.05 csys = 0.45 CPU) Failed 1/4 test programs. 3/9 subtests failed. make: *** [test_dynamic] Error 255 Digging into things, it turns out this occurs when ->new() is called w/o a third config parameter; which is what happens in t/04execute.t.. This can be worked around by changing line 93 to be conditional, e.g. "$self->config($config) if defined $config". -- Chris Weyl Ex astris, scientia