Subject: | t/99_author.t plans twice |
Looks like your test automation still needs some work (below).
This is happening because both 99_author.t and
Test::Pod::all_pod_files_ok() call plan().
Tony
tony@develop-help:/mnt/tony/tony/.cpan/build/Params-Util-0.29$ perl
Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Params::Util
tony@develop-help:/mnt/tony/tony/.cpan/build/Params-Util-0.29$ make test
cp lib/Params/Util.pm blib/lib/Params/Util.pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/01_compile.....ok
t/02_util........ok
t/03_all.........ok
t/04_callable....ok
t/04_codelike....ok
t/05_typelike....ok
t/06_invocant....ok
1/11 skipped: Skipping nasty test unless AUTOMATED_TESTING
t/07_handle......ok
t/08_driver......ok
t/99_author......skipped
all skipped: Author tests not required for installation
All tests successful, 1 test and 1 subtest skipped.
Files=10, Tests=745, 4 wallclock secs ( 3.40 cusr + 0.39 csys = 3.79 CPU)
tony@develop-help:/mnt/tony/tony/.cpan/build/Params-Util-0.29$
AUTOMATED_TESTING=1 make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/01_compile.....ok
t/02_util........ok
t/03_all.........ok
t/04_callable....ok
t/04_codelike....ok
t/05_typelike....ok
t/06_invocant....ok
t/07_handle......ok
t/08_driver......ok
t/99_author......ok 1/0You tried to plan twice at t/99_author.t line 69.
# Looks like your test died just after 1.
t/99_author......dubious
Test returned status 255 (wstat 65280, 0xff00)
after all the subtests completed successfully
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/99_author.t 255 65280 1 0 0.00% ??
Failed 1/10 test scripts, 90.00% okay. 0/746 subtests failed, 100.00% okay.
make: *** [test_dynamic] Error 255
tony@develop-help:/mnt/tony/tony/.cpan/build/Params-Util-0.29$
AUTOMATED_TESTING=1 make test TEST_FILES=t/99_author.t TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(1, 'inc', 'blib/lib', 'blib/arch')" t/99_author.t
t/99_author....ok 1 - Running author tests
You tried to plan twice at t/99_author.t line 69.
# Looks like your test died just after 1.
1..1
dubious
Test returned status 255 (wstat 65280, 0xff00)
after all the subtests completed successfully
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/99_author.t 255 65280 1 0 0.00% ??
Failed 1/1 test scripts, 0.00% okay. 0/1 subtests failed, 100.00% okay.
make: *** [test_dynamic] Error 255