Skip Menu |

This queue is for tickets about the HTML-Mason CPAN distribution.

Report information
The Basics
Id: 24827
Status: resolved
Priority: 0/
Queue: HTML-Mason

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

Bug Information
Severity: Normal
Broken in: 1.35
Fixed in: 1.36



Subject: Missing dependency?
I was testing HTML::Mason on a clean perl installation and looks like Mason has a missing dependency on HTML::Entities module or may be it's optional and tests should be fixed. I've installed the module and now all the tests pass. Output of the tests: t/05a-stack-corruption........ok t/06-compiler.................NOK 54/58 # Failed test 'compiler_id_change' # at /home/cubic/.cpan/build/HTML-Mason-1.35/blib/lib/HTML/Mason/Tests.pm line 559. # Looks like you failed 1 test of 58. t/06-compiler.................dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 54 Failed 1/58 tests, 98.28% okay t/06a-compiler_obj............ok .... t/21-escapes..................ok 1/3Can't locate HTML/Entities.pm in @INC. HTML escaping requires the HTML::Entities module, available from CPAN. (@INC contains: /home/cubic/.cpan/build/HTML-Mason-1.35/blib/lib /home/cubic/.cpan/build/HTML-Mason-1.35/blib/arch t/lib inc /home/cubic/perl_snap/lib/5.8.8/x86_64-linux /home/cubic/perl_snap/lib/5.8.8/x86_64-linux /home/cubic/perl_snap/lib/5.8.8 /home/cubic/perl_snap/lib/site_perl/5.8.8/x86_64-linux /home/cubic/perl_snap/lib/site_perl/5.8.8/x86_64-linux /home/cubic/perl_snap/lib/site_perl/5.8.8 . /home/cubic/perl_snap/lib/5.8.8/x86_64-linux /home/cubic/perl_snap/lib/5.8.8 /home/cubic/perl_snap/lib/site_perl/5.8.8/x86_64-linux /home/cubic/perl_snap/lib/site_perl/5.8.8 .) Stack: [/home/cubic/.cpan/build/HTML-Mason-1.35/blib/lib/HTML/Mason/Escapes.pm:30] [t/21-escapes.t:21] # Looks like you planned 3 tests but only ran 1. # Looks like your test died just after 1. t/21-escapes..................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-3 Failed 2/3 tests, 33.33% okay -- Best regards, Ruslan.
On Tue Feb 06 18:16:49 2007, RUZ wrote: Show quoted text
> I was testing HTML::Mason on a clean perl installation and looks like > Mason has a missing dependency on HTML::Entities module or may be it's > optional and tests should be fixed. I've installed the module and now > all the tests pass.
It is optional. The 21-escapes.t test should be skipped if you don't have HTML::Entities installed.
On Wed Mar 07 09:29:31 2007, DROLSKY wrote: Show quoted text
> On Tue Feb 06 18:16:49 2007, RUZ wrote:
> > I was testing HTML::Mason on a clean perl installation and looks like > > Mason has a missing dependency on HTML::Entities module or may be it's > > optional and tests should be fixed. I've installed the module and now > > all the tests pass.
> > It is optional. The 21-escapes.t test should be skipped if you don't > have HTML::Entities installed.
The test is not skipped. HTML::Mason's failing test is one of a few preventing Jifty from being cleanly installable.

Message body is not shown because it is too large.

On Wed Mar 07 09:29:31 2007, DROLSKY wrote: Show quoted text
> On Tue Feb 06 18:16:49 2007, RUZ wrote:
> > I was testing HTML::Mason on a clean perl installation and looks like > > Mason has a missing dependency on HTML::Entities module or may be it's > > optional and tests should be fixed. I've installed the module and now > > all the tests pass.
> > It is optional. The 21-escapes.t test should be skipped if you don't > have HTML::Entities installed.
it's not. I started installation from clean perl, I'm sure it fails. May be in a test you load some of mason's modules that requires HTML::Entities before testing that it's available. Anyway, I think I saw a commit in the latest version which may be fix this and ticket can be closed. -- Best regards, Ruslan.