Skip Menu |

This queue is for tickets about the Carp-Always CPAN distribution.

Report information
The Basics
Id: 91268
Status: resolved
Priority: 0/
Queue: Carp-Always

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

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



Subject: Carp-Always-0.13 make test failures
/tmp/Carp-Always-0.13$ make test PERL_DL_NONLAZY=1 /var/www/tools/bin/perl5.16.3 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/001use.t ........... 1/1 # Testing Carp::Always 0.13, Perl 5.016003, /var/www/tools/bin/perl5.16.3 t/001use.t ........... ok t/010simple.t ........ String found where operator expected at t/010simple.t line 36, near "run_is_deeply 'perl'" (Do you need to predeclare run_is_deeply?) syntax error at t/010simple.t line 36, near "run_is_deeply 'perl'" Execution of t/010simple.t aborted due to compilation errors. t/010simple.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/098pod-coverage.t .. skipped: Test::Pod::Coverage 1.04 required for testing POD coverage t/099pod.t ........... ok Test Summary Report ------------------- t/010simple.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=4, Tests=8, 2 wallclock secs ( 0.01 usr 0.06 sys + 0.27 cusr 0.67 csys = 1.01 CPU) Result: FAIL Failed 1/4 test programs. 0/8 subtests failed. make: *** [test_dynamic] Error 255 ------------------------ perl -V | head Summary of my perl5 (revision 5 version 16 subversion 3) configuration: Platform: osname=linux, osvers=2.6.32-45-server, archname=x86_64-linux-thread-multi uname='linux givengaindev 2.6.32-45-server #103-ubuntu smp thu feb 7 22:33:52 utc 2013 x86_64 gnulinux ' config_args='-Dusethreads -Dprefix=/opt/tools -d -A ccflags=-fPIC -Accflags=-DAPPLLIB_EXP=\"/opt/tools/testing/lib\"' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef
On Carp-Always-0.13, the test t/010simple.t could be skipped if Test::Base was not available. In such cases, the test script would compile but not run (except for the skip part). It looks like perl 5.16.3 had some trouble with the statement run_is_deeply 'perl', 'stderr'; because "run_is_deeply" would not be predeclared as a sub (which it would be when Test::Base was successfully loaded). I could not reproduce this behavior with 5.16.2 or 5.24.1 – so it might be some bug in perl 5.16.3. This will not happen anymore even in the case of such regression because t/010simple.t now requires Test::Base.