Re: FAIL Test-Simple-0.80 i386-freebsd-64int 6.1-release
  Home FAQ Contact Sign in
perl.cpan.testers only
 
Advanced search
POPULAR GROUPS

more...

 Up
Re: FAIL Test-Simple-0.80 i386-freebsd-64int 6.1-release         

Group: perl.cpan.testers · Group Profile
Author: Slaven Rezic
Date: Jul 5, 2008 02:35

Michael G Schwern pobox.com> writes:
> From the evidence below, this appears to be a test against some old
> and/or patched version of Test::More.
>
> BTW The changes look interesting.
>
>
> srezic@cpan.org wrote:
>> t/extra.........................
>> # Failed test in t/extra.t at line 0.
>> # got: '# Failed test 'Bar'
>> # # in t/extra.t at line 31.
>> # # Failed test 'Sar'
>> # # in t/extra.t at line 34.
>> # # Looks like you planned 3 tests but ran 2 extra.
>> # # Looks like you failed 2 tests of 5 run.
>> # '
>> # expected: '# Failed test 'Bar'
>> # # at t/extra.t line 31.
>> # # Failed test 'Sar'
>> # # at t/extra.t line 34.
>> # # Looks like you planned 3 tests but ran 2 extra.
>> # # Looks like you failed 2 tests of 5 run.
>> # '
>
> 0.64_01 changed the diagnostic message to match Perl's "$message at
> $file line $num". You're running some very old version.
>

It's Test::More 0.62, the standard one in perl 5.8.8.
>
>> t/no_plan.......................
>> # Failed test in /usr/local/lib/perl5/site_perl/5.8.8/Test/More.pm at line 329.
>> # got: 'Got an undefined number of tests. Looks like you tried to say how many tests you plan to run but made a mistake.
>> # '
>> # expected: 'Got an undefined number of tests at t/no_plan.t line 19.
>> # '
>
> Test::Builder never output that message above. So you're running some
> very patched version.
>

There seem to be versions of Test::Builder with this message out in
the wild. I found for example
http://search.cpan.org/src/MSCHWERN/mixin-0.06/t/lib/Test/Builder.pm
And also the included Test::Builder in CPAN.pm's subversion repository
has this message.
>
>
>> t/plan..........................
>> # Failed test 'disallow double plan'
>> # in t/plan.t at line 14.
>> # got: 'You tried to plan twice! Second plan at t/plan.t line 13
>> # '
>> # expected: 'You tried to plan twice at t/plan.t line 13.
>> # '
>> # Failed test 'disallow changing plan'
>> # in t/plan.t at line 17.
>> # got: 'You tried to plan twice! Second plan at t/plan.t line 16
>> # '
>> # expected: 'You tried to plan twice at t/plan.t line 16.
>> # '
>
> There never was anything in Test::Builder that reported the location
> of the second plan.
>

Googling for this error message also got me some hits.

Regards,
Slaven

--
Slaven Rezic - slaven rezic de

tknotes - A knotes clone, written in Perl/Tk.
http://ptktools.sourceforge.net/#tknotes
1 Comment
diggit! del.icio.us! reddit!