On 2013-07-16 21:15:14, Philippe.Bruhat@free.fr wrote:
> Isn't the issue the fact that the test fails when run with an
> unthreaded Perl?
Yes... and no. The only failure is 02pod-coverage.t
Yes, the test fails doing Pod::Coverage for HTTP::Proxy::Engine::Threaded
However, thats immaterial: Because pod coverage tests really shouldn't be run on end user machines, because they cause problems for non-reasons that require user intervention to step around, which is unncessecary.
Here, Pod::Coverage is attempting to load the one module in the dist that requires threads, because its not smart enough not to, and that leads to the error.
( Even on the *best* of days, a Pod::Coverage test failing can be of no use to a user. "OH NOES DEVELOPER FORGOT TO DOCUMENT THIS METHOD, BETTER NOT INSTALL! " ;) )
perl -d:Confess -T -Ilib t/02pod-coverage.t
1..18
ok 1 - Pod coverage on HTTP::Proxy
ok 2 - Pod coverage on HTTP::Proxy::HeaderFilter
ok 3 - Pod coverage on HTTP::Proxy::Engine
ok 4 - Pod coverage on HTTP::Proxy::FilterStack
ok 5 - Pod coverage on HTTP::Proxy::BodyFilter
ok 6 - Pod coverage on HTTP::Proxy::BodyFilter::tags
ok 7 - Pod coverage on HTTP::Proxy::BodyFilter::simple
ok 8 - Pod coverage on HTTP::Proxy::BodyFilter::lines
ok 9 - Pod coverage on HTTP::Proxy::BodyFilter::htmltext
ok 10 - Pod coverage on HTTP::Proxy::BodyFilter::htmlparser
ok 11 - Pod coverage on HTTP::Proxy::BodyFilter::complete
ok 12 - Pod coverage on HTTP::Proxy::BodyFilter::save
ok 13 - Pod coverage on HTTP::Proxy::Engine::ScoreBoard
ok 14 - Pod coverage on HTTP::Proxy::Engine::Legacy
ok 15 - Pod coverage on HTTP::Proxy::Engine::NoFork
not ok 16 - Pod coverage on HTTP::Proxy::Engine::Threaded
# Failed test 'Pod coverage on HTTP::Proxy::Engine::Threaded'
# at /home/kent/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/Test/Pod/Coverage.pm line 126.
# HTTP::Proxy::Engine::Threaded: requiring 'HTTP::Proxy::Engine::Threaded' failed
ok 17 - Pod coverage on HTTP::Proxy::HeaderFilter::simple
ok 18 - Pod coverage on HTTP::Proxy::HeaderFilter::standard
# Looks like you failed 1 test of 18.