Skip Menu |

This queue is for tickets about the Params-Util CPAN distribution.

Report information
The Basics
Id: 28968
Status: resolved
Priority: 0/
Queue: Params-Util

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

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



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
Subject: Re: [rt.cpan.org #28968] t/99_author.t plans twice
Date: Fri, 24 Aug 2007 18:54:23 +1000
To: bug-Params-Util [...] rt.cpan.org
From: "Adam Kennedy" <adamkennedybackup [...] gmail.com>
That one's not my bug, blame rjbs for it. I'm getting him to upgrade Test::MinimumVersion to avoid the problem, and I'm not too concerned for the moment about the occasion failing author test on CPAN Testers. Adam K On 24/08/07, via RT <bug-Params-Util@rt.cpan.org> wrote: Show quoted text
> > > Thu Aug 23 20:50:59 2007: Request 28968 was acted upon. > Transaction: Ticket created by TONYC > Queue: Params-Util > Subject: t/99_author.t plans twice > Broken in: 0.28 > Severity: Unimportant > Owner: Nobody > Requestors: TONYC@cpan.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=28968 > > > > 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.79CPU) > 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 > >
Upgraded to a new generation of author tests, fixing this bug.