Skip Menu |

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

Report information
The Basics
Id: 33788
Status: open
Priority: 0/
Queue: Test-XML

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.07
Fixed in: (no value)



Subject: Occasional test failures
Today my smoke machine produced this fail report: http://www.nntp.perl.org/group/perl.cpan.testers/2008/03/msg1098979.html Looking through the other results I find that I produced this report already once with 5.10: http://www.nntp.perl.org/group/perl.cpan.testers/2007/11/msg795085.html Needless to say that I cannot reproduce the fail because since the test ran countless other modules have been installed. My suspicion is that there is a hidden dependency on some other XML module that is rarely triggered. Let me know if you'd like more details or want me to try some scenarios. Thanks,
On 2008-03-03 15:56:47, ANDK wrote: Show quoted text
> Today my smoke machine produced this fail report: > > http://www.nntp.perl.org/group/perl.cpan.testers/2008/03/msg1098979.html
This happens because XML::SAX->parsers returns no parsers. I expect that this test ought to create one so that there is *at least* one.
I have worked around the issue with this patch: --- a/t/sax.t 2014-08-20 16:42:43.717049798 -0700 +++ b/t/sax.t 2014-08-20 16:42:46.153048394 -0700 @@ -13,6 +13,7 @@ } use Test::XML::SAX; +plan skip_all => "No SAX parsers found" unless @{ XML::SAX->parsers }; # A Dummy SAX Filter. {