Skip Menu |

This queue is for tickets about the XML-Parser-Lite CPAN distribution.

Report information
The Basics
Id: 91434
Status: resolved
Priority: 0/
Queue: XML-Parser-Lite

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

Bug Information
Severity: (no value)
Broken in:
  • 0.719
  • 0.72
Fixed in: 0.721



Subject: Fails if XMLRPC-Lite-0.717 is installed
Disclaimer: I'm just running a smoker and sometimes try to understand packages that deliver both pass and fail reports. I'm not speaking as a user. In this case I found a number of failing test reports with the following diagnostics: Undefined subroutine &XMLRPC::Test::Server::run_for called at t/37-mod_xmlrpc.t line 16. Sample: http://www.cpantesters.org/cpan/report/37061430 It seems this can be reproduced reliably by installing XMLRPC-Lite before testing XML-Parser-Lite. When XMLRPC-Lite is not installed this test will be skipped and ''all'' tests can succeed. But if it is installed, then the failure can occur. HTH && Regards,
Also fails in the same way trying to install 0.719 if 0.718 is installed.
From: contyk [...] redhat.com
This can be easily fixed by requiring the actually used module. diff --git a/t/37-mod_xmlrpc.t b/t/37-mod_xmlrpc.t index 67d5370..b8a23bf 100644 --- a/t/37-mod_xmlrpc.t +++ b/t/37-mod_xmlrpc.t @@ -7,11 +7,11 @@ use Test::More; BEGIN { plan tests => 17 } -eval { require XMLRPC::Lite }; +eval { require XMLRPC::Test::Server }; SKIP: { - skip 'need XMLRPC::Lite', 17 if $@; + skip 'need XMLRPC::Test::Server', 17 if $@; XMLRPC::Test::Server::run_for( shift || 'http://localhost/mod_xmlrpc' );
It looks like this issue was resolved in version 0.721, hence it seems that this ticket could be closed as resolved.
Closing as suggested. Thanks!