Subject: | Test failures with old namespace::clean |
I was testing this against the soon-to-be-released HTML::DOM 0.050 and I got failures,
unrelated to HTML::DOM, shown below.
These are the versions of namespace::* I have installed:
$ pmvers namespace::clean
0.18
$ pmvers namespace::autoclean
0.09
There appears to be a conflict between those two versions that so far has only affected
Text::TOC.
If I upgrade namespace::clean to 0.21, the problem goes away. (I haven’t tried 0.19.)
If I upgrade namespace::autoclean to 0.12, it forces a namespace::clean upgrade.
I leave it to you whether it’s better to depend on namespace::clean 0.21 directly or to
increase the required version of namespace::autoclean.
----------
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/compile.t ............... 1/?
# Failed test 'use Text::TOC::HTML;'
# at t/compile.t line 6.
# Tried to use 'Text::TOC::HTML'.
# Error: Undefined subroutine &namespace::autoclean::on_scope_end called at
/Library/Perl/5.10.0/namespace/autoclean.pm line 53.
# BEGIN failed--compilation aborted at /Users/sprout/.cpan/build/Text-TOC-0.07-
tqmaHz/blib/lib/Text/TOC/HTML.pm line 8.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/compile.t ............... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/html.t .................. Undefined subroutine &namespace::autoclean::on_scope_end called at
/Library/Perl/5.10.0/namespace/autoclean.pm line 53.
BEGIN failed--compilation aborted at /Users/sprout/.cpan/build/Text-TOC-0.07-
tqmaHz/blib/lib/Text/TOC/HTML.pm line 8.
Compilation failed in require at t/html.t line 11.
BEGIN failed--compilation aborted at t/html.t line 11.
t/html.t .................. Dubious, test returned 9 (wstat 2304, 0x900)
No subtests run
t/release-kwalitee.t ...... skipped: these tests are for release candidate testing
t/release-pod-coverage.t .. skipped: these tests are for release candidate testing
t/release-pod-syntax.t .... skipped: these tests are for release candidate testing
Test Summary Report
-------------------
t/compile.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/html.t (Wstat: 2304 Tests: 0 Failed: 0)
Non-zero exit status: 9
Parse errors: No plan found in TAP output
Files=5, Tests=1, 1 wallclock secs ( 0.07 usr 0.04 sys + 0.63 cusr 0.24 csys = 0.98 CPU)
Result: FAIL
Failed 2/5 test programs. 1/1 subtests failed.
make: *** [test_dynamic] Error 255
DROLSKY/Text-TOC-0.07.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports DROLSKY/Text-TOC-0.07.tar.gz
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Failed during this command:
DROLSKY/Text-TOC-0.07.tar.gz : make_test NO