Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the App-CPAN-Mini-Visit CPAN distribution.

Report information
The Basics
Id: 54397
Status: new
Priority: 0/
Queue: App-CPAN-Mini-Visit

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

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



Subject: App-CPAN-Mini-Visit passes './Build test' but not 'make test'; can't do coverage analysis
First attempt at building App::CPAN::Mini::Visit. Using my 'master' at http://github.com/jkeenan/app-cpan-mini-visit which is unchanged from the clone I made yesterday of dagolden's master. Using Module::Build: perl Build.pl; ./Build; ./Build test all work as expected. However ./Build testcover starts to fail immediately then hangs, see partial output in attached file. Using ExtUtils::MakeMaker: perl Makefile.PL; make both work as expected. However, make test reports a failure (which, since it's in t/01_Bogus.t, may be an artifact of testing); see attachment. Testing with Devel::Cover set up generates the same failure output as does ./Build testcover.
Subject: Build.make.test.output.txt
$ perl Build.PL Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Creating new 'Build' script for 'App-CPAN-Mini-Visit' version '0.006' $ ./Build Copying lib/App/CPAN/Mini/Visit.pm -> blib/lib/App/CPAN/Mini/Visit.pm Copying lib/App/CPAN/Mini/Visit.pod -> blib/lib/App/CPAN/Mini/Visit.pod Copying bin/visitcpan -> blib/script/visitcpan Manifying blib/script/visitcpan -> blib/bindoc/visitcpan.1 Manifying blib/lib/App/CPAN/Mini/Visit.pod -> blib/libdoc/App::CPAN::Mini::Visit.3 $ ./Build test t/01-App-CPAN-Mini-Visit.t .. ok All tests successful. Files=1, Tests=30, 15 wallclock secs ( 0.10 usr 0.03 sys + 3.72 cusr 6.50 csys = 10.35 CPU) Result: PASS $ ./Build testcover t/01-App-CPAN-Mini-Visit.t .. 1/30 01-App-CPAN-Mini-Visit.t: 0.006 # Failed test '[--version] correct' # at t/01-App-CPAN-Mini-Visit.t line 60. # got: '' # expected: '01-App-CPAN-Mini-Visit.t: 0.006 # ' # undef 01-App-CPAN-Mini-Visit.t: 0.006 # Failed test '[-V] correct' # at t/01-App-CPAN-Mini-Visit.t line 60. # got: '' # expected: '01-App-CPAN-Mini-Visit.t: 0.006 # ' # undef ... ########### $ perl Makefile.PL && make Checking if your kit is complete... Looks good Checking if your kit is complete... Looks good Writing Makefile for Bogus::Fail Checking if your kit is complete... Looks good Writing Makefile for Bogus::OSUnsupported Checking if your kit is complete... Looks good Writing Makefile for Bogus::PL::Fail Checking if your kit is complete... Looks good Writing Makefile for Bogus::Pass Writing Makefile for App::CPAN::Mini::Visit cp lib/App/CPAN/Mini/Visit.pm blib/lib/App/CPAN/Mini/Visit.pm cp lib/App/CPAN/Mini/Visit.pod blib/lib/App/CPAN/Mini/Visit.pod cp lib/Bogus/Fail.pm ../blib/lib/Bogus/Fail.pm cp lib/Bogus/OSUnsupported.pm ../blib/lib/Bogus/OSUnsupported.pm cp lib/Bogus/PL/Fail.pm ../blib/lib/Bogus/PL/Fail.pm cp lib/Bogus/Pass.pm ../blib/lib/Bogus/Pass.pm cp bin/visitcpan blib/script/visitcpan /usr/local/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/visitcpan Manifying blib/man1/visitcpan.1 Manifying blib/man3/App::CPAN::Mini::Visit.3 $ make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01-App-CPAN-Mini-Visit.t .. ok All tests successful. Files=1, Tests=30, 19 wallclock secs ( 0.10 usr 0.03 sys + 3.78 cusr 6.64 csys = 10.55 CPU) Result: PASS PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, '../blib/lib', '../blib/arch')" t/*.t t/01_Bogus.t .. 1/1 # Failed test 'Failed this test' # at t/01_Bogus.t line 8. # Looks like you failed 1 test of 1. t/01_Bogus.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests Test Summary Report ------------------- t/01_Bogus.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=1, Tests=1, 1 wallclock secs ( 0.08 usr 0.03 sys + 0.07 cusr 0.03 csys = 0.21 CPU) Result: FAIL Failed 1/1 test programs. 1/1 subtests failed. make[1]: *** [test_dynamic] Error 1 make: *** [subdirs-test] Error 2