Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 1656
Status: resolved
Priority: 0/
Queue: CPANPLUS

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

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



Subject: Backend make() returns success when a "make test" failed
I'm automating the fetching and testing of several modules. I have successfully fetched and extracted the modules, but make() with the "test" target sometimes fails due to missing dependencies. That isn't a problem, though. I fully expect the failures because I'm running as a plain user who can't install modules systemwide. The problem is that this code returns a status of 1 for the module even when it couldn't be tested: my $local_results = $cp->make( target => "test", dirs => [ $full_dir ], ); The Makefile is generated, but "make test" is never run. That seems fine, since the prerequisites aren't available, but $local_results->{$full_dir} == 1 afterwards, which seems wrong. Show quoted text
--- BEGIN OUTPUT --- Testing POE-Component-Pcap-0.03.tar.gz... Checking if your kit is complete... Looks good Warning: prerequisite NetPacket::Ethernet failed to load: \ Can't locate NetPacket/Ethernet.pm in @INC ([omitted]) \ at (eval 5) line 3. Writing Makefile for POE::Component::Pcap Checking if your kit is complete... Looks good Writing Makefile for NetPacket No tests defined for NetPacket extension. MAKE INSTALL failed! - \ in CPANPLUS::Internals::Make::_make \ at Sun Oct 13 23:00:31 2002 \ at /usr/local/perl-561-single/site-lib/CPANPLUS/Internals/Make.pm \ line 328 Error installing module NetPacket::Ethernet \ in CPANPLUS::Internals::Install::_install_module \ at Sun Oct 13 23:00:31 2002 \ at /usr/local/perl-561-single/site-lib/CPANPLUS/Internals/Install.pm \ line 117 Warning: prerequisite NetPacket::Ethernet failed to load: \ Can't locate NetPacket/Ethernet.pm in @INC ([omitted]) \ at (eval 5) line 3. Writing Makefile for POE::Component::Pcap 1 = OK POE-Component-Pcap-0.03
--- CEASE OUTPUT --- -- Rocco Caputo / troc@pobox.com / poe.perl.org / poe.sf.net