Skip Menu |

This queue is for tickets about the Template-Timer CPAN distribution.

Report information
The Basics
Id: 26002
Status: resolved
Priority: 0/
Queue: Template-Timer

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

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



Subject: test failure Can't locate object method "new"...
CPAN.pm: Going to build P/PE/PETDANCE/Template-Timer-0.04.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Template::Timer cp Timer.pm blib/lib/Template/Timer.pm Manifying blib/man3/Template::Timer.3 /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /home/src/perl/repoperls/installed-perls/perl/p6oBwLf/perl-5.8.0@30791/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load....ok 1/1# Testing Template::Timer 0.04 t/00-load....ok t/eval.......ok 1/2Can't locate object method "new" via package "Template" at t/eval.t line 12. # Looks like you planned 2 tests but only ran 1. # Looks like your test died just after 1. t/eval.......dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 2 Failed 1/2 tests, 50.00% okay t/pod........ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/eval.t 255 65280 2 2 2 Failed 1/3 test scripts. 1/4 subtests failed. Files=3, Tests=4, 1 wallclock secs ( 0.54 cusr + 0.04 csys = 0.58 CPU) Failed 1/3 test programs. 1/4 subtests failed. I tried with several perls. Please let me know if you need further information.
From: rt-cpan [...] nfwebsolutions.com
Add this to ./t/eval.t inside the BEGIN {} block: use_ok( 'Template' ); The test tries to call new() without loading the respective module first, causing an error. On Sat Mar 31 04:29:29 2007, ANDK wrote: Show quoted text
> CPAN.pm: Going to build P/PE/PETDANCE/Template-Timer-0.04.tar.gz > > Checking if your kit is complete... > Looks good > Writing Makefile for Template::Timer > cp Timer.pm blib/lib/Template/Timer.pm > Manifying blib/man3/Template::Timer.3 > /usr/bin/make -- OK > Running make test > PERL_DL_NONLAZY=1 > /home/src/perl/repoperls/installed-perls/perl/p6oBwLf/perl- > 5.8.0@30791/bin/perl > "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', > 'blib/arch')" t/*.t > t/00-load....ok 1/1# Testing Template::Timer 0.04 > > t/00-load....ok > > t/eval.......ok 1/2Can't locate object method "new" via package > "Template" at t/eval.t line 12. > # Looks like you planned 2 tests but only ran 1. > # Looks like your test died just after 1. > t/eval.......dubious > > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED test 2 > Failed 1/2 tests, 50.00% okay > t/pod........ok > > Failed Test Stat Wstat Total Fail List of Failed > ----------------------------------------------------------------------
--------- Show quoted text
> t/eval.t 255 65280 2 2 2 > Failed 1/3 test scripts. 1/4 subtests failed. > Files=3, Tests=4, 1 wallclock secs ( 0.54 cusr + 0.04 csys = 0.58 > CPU) > Failed 1/3 test programs. 1/4 subtests failed. > > > I tried with several perls. Please let me know if you need further > information.
Fixed in 1.00.