This queue is for tickets about the XML-Twig CPAN distribution.

Report information
The Basics
Id:
77245
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
sean [...] blanton.com
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
3.40
Fixed in:
(no value)



Subject: Test fails only due to bad plans with missing optional modules
This is due to having a number of missing optional dependencies. After installing all modules shown below as 'not available', all tests passed. Test Summary Report ------------------- t/test_3_38.t (Wstat: 512 Tests: 17 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 21 tests but ran 17. t/test_3_39.t (Wstat: 512 Tests: 8 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 12 tests but ran 8. Files=99, Tests=4437, 17 wallclock secs ( 0.55 usr 0.22 sys + 13.49 cusr 2.03 csys = 16.29 CPU) Result: FAIL Failed 2/99 test programs. 0/4437 subtests failed. --------------------------------- Configuration: perl: 5.010001 OS: linux - x86_64-linux required XML::Parser : 2.41 expat : 2.0.1 (required) Strongly Recommended Scalar::Util : 1.25 (for improved memory management) Encode : 2.44 (for encoding conversions) Modules providing additional features XML::XPathEngine : <not available> (to use XML::Twig::XPath) XML::XPath : <not available> (to use XML::Twig::XPath if Tree::XPathEngine not available) LWP : 6.04 (for the parseurl method) HTML::TreeBuilder : <not available> (to use parse_html and parsefile_html) HTML::Entities::Numbered : <not available> (to allow parsing of HTML containing named entities) HTML::Tidy : <not available> (to use parse_html and parsefile_html with the use_tidy option) HTML::Entities : 3.69 (for the html_encode filter) Tie::IxHash : <not available> (for the keep_atts_order option) Text::Wrap : 2009.0305 (to use the "wrapped" option for pretty_print) Modules used only by the auto tests Test : 1.25_02 Test::Pod : 1.45 XML::Simple : 2.18 XML::Handler::YAWriter : <not available> XML::SAX::Writer : <not available> XML::Filter::BufferText : <not available> IO::Scalar : 2.110 IO::CaptureOutput : <not available>
Subject: Re: [rt.cpan.org #77245] Test fails only due to bad plans with missing optional modules
Date: Thu, 17 May 2012 12:19:38 +0200
To: bug-XML-Twig@rt.cpan.org
From: mirod <xmltwig@gmail.com>
On 05/16/2012 08:39 PM, Sean Blanton via RT wrote:
Show quoted text
> Wed May 16 14:39:35 2012: Request 77245 was acted upon. > Transaction: Ticket created by sblanton > Queue: XML-Twig > Subject: Test fails only due to bad plans with missing optional modules
Thanks, I noticed that. The problem is with a couple of tests I have added that need HTML::TreeBuilder. The development version is fixed. Thanks. -- mirod
fixed in 3.42 __ mirod


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.