Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251212 - dev-perl/WWW-Mechanize-1.52 FEATURES/USE=test should depend on HTTP-Server-Simple
Summary: dev-perl/WWW-Mechanize-1.52 FEATURES/USE=test should depend on HTTP-Server-Si...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-16 18:02 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2008-12-17 09:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2008-12-16 18:02:11 UTC
During the test kit, it looks for HTTP/Server/Simple/CGI.pm which is not available, causing the test to fail. 

Test Summary Report
-------------------
t/cookies            (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 14 tests but ran 0.
t/local/click_button (Wstat: 0 Tests: 19 Failed: 0)
  TODO passed:   15-17, 19
Files=48, Tests=542, 10 wallclock secs ( 0.20 usr  0.06 sys +  6.65 cusr  1.33 csys =  8.24 CPU)
Result: FAIL
Failed 1/48 test programs. 0/542 subtests failed.
make: *** [test_dynamic] Error 255


Reproducible: Always

Steps to Reproduce:
1. Remove HTTP-Server-Simple ( if installed ) 
2. Emerge FEATURES="test" WWW-Mechanize

Actual Results:  
>>> Starting src_test
PERL_DL_NONLAZY=1 /usr/bin/perl5.10.0 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/00-load.t t/add_header.t t/aliases.t t/area_link.t t/autocheck.t t/clone.t t/cookies.t t/credentials-api.t t/credentials.t t/die.t t/field.t t/find_frame.t t/find_image.t t/find_inputs.t t/find_link-warnings.t t/find_link.t t/find_link_id.t t/form-parsing.t t/frames.t t/image-new.t t/image-parse.t t/link-base.t t/link-relative.t t/link.t t/new.t t/pod-coverage.t t/pod.t t/regex-error.t t/save_content.t t/select.t t/taint.t t/tick.t t/upload.t t/warn.t t/warnings.t t/local/back.t t/local/click.t t/local/click_button.t t/local/failure.t t/local/follow.t t/local/form.t t/local/get.t t/local/overload.t t/local/page_stack.t t/local/referer.t t/local/reload.t t/local/submit.t t/mech-dump/mech-dump.t
t/00-load................1/2 # Testing WWW::Mechanize 1.52, with LWP 5.822, Perl 5.010000, /usr/bin/perl5.10.0
t/00-load................ok   
t/add_header.............ok   
t/aliases................ok   
t/area_link..............ok   
t/autocheck..............ok   
t/clone..................ok   
t/cookies................Can't locate HTTP/Server/Simple/CGI.pm in @INC (@INC contains: t/lib /tmp/portage/dev-perl-WWW-Mechanize-1.52/work/WWW-Mechanize-1.52/blib/lib /tmp/portage/dev-perl-WWW-Mechanize-1.52/work/WWW-Mechanize-1.52/blib/arch /etc/perl /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.10.0/x86_64-linux /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/site_perl /usr/lib/perl5/5.10.0/x86_64-linux /usr/lib/perl5/5.10.0 /usr/local/lib/site_perl .) at t/lib/TestServer.pm line 6.
BEGIN failed--compilation aborted at t/lib/TestServer.pm line 6.
Compilation failed in require at t/cookies.t line 14.
BEGIN failed--compilation aborted at t/cookies.t line 14.
# Looks like your test exited with 2 before it could output anything.
t/cookies................ Dubious, test returned 2 (wstat 512, 0x200)
 Failed 14/14 subtests 


Expected Results:  
Dep present in ebuild, 
tests succeed.
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2008-12-17 09:23:09 UTC
I removed the cookies.t test 
(<http://rt.cpan.org/Public/Bug/Display.html?id=41673>).
So HTTP-Server-Simple is currently not needed.

Thanks for the bug report.