Skip Menu |

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 39257
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: Nobody in particular
Requestors: perl [...] galumph.com
Cc:
AdminCc:

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



Subject: T::H 3.14 causing CPANPLUS shell to exit after tests run when using Module::Build as the build module.
Date: Sat, 13 Sep 2008 19:56:14 -0500
To: bug-Test-Harness [...] rt.cpan.org
From: Elliot Shank <perl [...] galumph.com>
I've got CPANPLUS configured to use M::B by default. Inexplicably, the tests run, PASS, and then the shell exits with a 0 status. Literally, the output is: ... t/yamlish-writer................ok t/yamlish.......................ok All tests successful. Files=48, Tests=10962, 11 wallclock secs ( 1.41 usr 0.43 sys + 6.05 cusr 1.93 csys = 9.82 CPU) Result: PASS ... and then exit. Manual build, test, and fakeinstall (so I can test again later) appear to be normal. ----- CPANPLUS: 0.84 Module::Build: 0.2808_01 CPAN::Reporter 1.17 Same result with Test::Reporter 1.50 and 1.52 (anything I'm missing here?) perl 5.10.0 Mac OS X 10.5.4 ------ CPANPLUS configuration: $conf->set_conf( allow_build_interactivity => 1 ); $conf->set_conf( base => '/[redacted]/cpanplus' ); $conf->set_conf( buildflags => '' ); $conf->set_conf( cpantest => '1' ); $conf->set_conf( cpantest_mx => '' ); $conf->set_conf( debug => 0 ); $conf->set_conf( dist_type => '' ); $conf->set_conf( email => 'perl@galumph.com' ); $conf->set_conf( extractdir => '' ); $conf->set_conf( fetchdir => '' ); $conf->set_conf( flush => 1 ); $conf->set_conf( force => 0 ); $conf->set_conf( hosts => [ { 'scheme' => 'file', 'path' => '/[redacted]/CPAN/Mini' } ] ); $conf->set_conf( lib => [] ); $conf->set_conf( makeflags => '' ); $conf->set_conf( makemakerflags => '' ); $conf->set_conf( md5 => 1 ); $conf->set_conf( no_update => 0 ); $conf->set_conf( passive => 1 ); $conf->set_conf( prefer_bin => 0 ); $conf->set_conf( prefer_makefile => '' ); $conf->set_conf( prereqs => '1' ); $conf->set_conf( shell => 'CPANPLUS::Shell::Default' ); $conf->set_conf( show_startup_tip => 1 ); $conf->set_conf( signature => 0 ); $conf->set_conf( skiptest => 0 ); $conf->set_conf( storable => 1 ); $conf->set_conf( timeout => 300 ); $conf->set_conf( verbose => '1' ); $conf->set_conf( write_install_logs => 1 ); ### program section $conf->set_program( editor => 'vim' ); $conf->set_program( make => '/usr/bin/make' ); $conf->set_program( pager => '/bin/cat' ); $conf->set_program( perlwrapper => '/[redacted]/bin/cpanp-run-perl' ); $conf->set_program( shell => '/bin/bash' ); $conf->set_program( sudo => undef ); ---- Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=darwin, osvers=9.1.0, archname=darwin-2level uname='darwin quaquaversal.local 9.1.0 darwin kernel version 9.1.0: wed oct 31 17:46:22 pdt 2007; root:xnu-1228.0.2~1release_i386 i386 ' config_args='-Dprefix=[redacted]' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe', optimize='-O3', cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe' ccversion='', gccversion='4.0.1 (Apple Inc. build 5465)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='env MACOSX_DEPLOYMENT_TARGET=10.5 cc', ldflags ='' libpth=/usr/lib libs=-ldbm -ldl -lm -lutil -lc perllibs=-ldl -lm -lutil -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup' Characteristics of this binary (from libperl): Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO Built under darwin Compiled at Jan 17 2008 21:23:31 @INC: /[redacted]/lib/5.10.0/darwin-2level /[redacted]/lib/5.10.0 /[redacted]/lib/site_perl/5.10.0/darwin-2level /[redacted]/lib/site_perl/5.10.0 .
Oops. Yes, it turns out we were exiting directly from ./Build test. That will be fixed in 3.15. Thanks for the report.