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.