Skip Menu |

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

Report information
The Basics
Id: 49821
Status: resolved
Worked: 4 hours (240 min)
Priority: 0/
Queue: Test-XML-Simple

People
Owner: mcmahon [...] cpan.org
Requestors: rmb32 [...] cornell.edu
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.10
Fixed in: (no value)



Test failure prevents installation. Latest version of Test::Tester::Capture, if that matters. Going to read '/crypt/rob/.cpan/Metadata' Database was generated on Tue, 15 Sep 2009 22:27:03 GMT Fetching with LWP: http://www.perl.org/CPAN/authors/01mailrc.txt.gz Going to read '/crypt/rob/.cpan/sources/authors/01mailrc.txt.gz' .......................................................................... Fetching with LWP: http://www.perl.org/CPAN/modules/02packages.details.txt.gz Going to read '/crypt/rob/.cpan/sources/modules/02packages.details.txt.gz' Database was generated on Fri, 18 Sep 2009 22:27:04 GMT .......................................................................... Fetching with LWP: http://www.perl.org/CPAN/modules/03modlist.data.gz Going to read '/crypt/rob/.cpan/sources/modules/03modlist.data.gz' .......................................................................... Going to write /crypt/rob/.cpan/Metadata Running install for module 'Test::XML::Simple' Running make for M/MC/MCMAHON/Test-XML-Simple-0.10.tar.gz Fetching with LWP: http://www.perl.org/CPAN/authors/id/M/MC/MCMAHON/Test-XML- Fetching with LWP: http://www.perl.org/CPAN/authors/id/M/MC/MCMAHON/CHECKSUMS Checksum for /crypt/rob/.cpan/sources/authors/id/M/MC/MCMAHON/Test-XML- Will not use Archive::Tar, need 1.00 Test-XML-Simple-0.10/ Test-XML-Simple-0.10/Changes Test-XML-Simple-0.10/lib/ Test-XML-Simple-0.10/lib/Test/ Test-XML-Simple-0.10/lib/Test/XML/ Test-XML-Simple-0.10/lib/Test/XML/Simple.pm Test-XML-Simple-0.10/Makefile.PL Test-XML-Simple-0.10/MANIFEST Test-XML-Simple-0.10/META.yml Test-XML-Simple-0.10/README Test-XML-Simple-0.10/t/ Test-XML-Simple-0.10/t/01load.t Test-XML-Simple-0.10/t/02import.t Test-XML-Simple-0.10/t/03valid.t Test-XML-Simple-0.10/t/04node.t Test-XML-Simple-0.10/t/05is.t Test-XML-Simple-0.10/t/06like.t Test-XML-Simple-0.10/t/07deeply.t Test-XML-Simple-0.10/t/08attr.t Test-XML-Simple-0.10/t/pod-coverage.t Test-XML-Simple-0.10/t/pod.t CPAN.pm: Going to build M/MC/MCMAHON/Test-XML-Simple-0.10.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Test::XML::Simple cp lib/Test/XML/Simple.pm blib/lib/Test/XML/Simple.pm Manifying blib/man3/Test::XML::Simple.3pm MCMAHON/Test-XML-Simple-0.10.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01load.t ........ ok t/02import.t ...... ok t/03valid.t ....... 1/8 Invalid value for shared scalar at /usr/share/perl5/Test/Tester/Capture.pm line 69. # Looks like you planned 8 tests but ran 4. # Looks like your test exited with 255 just after 4. t/03valid.t ....... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 4/8 subtests t/04node.t ........ ok t/05is.t .......... ok t/06like.t ........ ok t/07deeply.t ...... ok t/08attr.t ........ ok t/pod-coverage.t .. ok t/pod.t ........... ok Test Summary Report ------------------- t/03valid.t (Wstat: 65280 Tests: 4 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 8 tests but ran 4. Files=10, Tests=31, 1 wallclock secs ( 0.06 usr 0.03 sys + 0.67 cusr 0.06 csys = 0.82 CPU) Result: FAIL Failed 1/10 test programs. 0/31 subtests failed. make: *** [test_dynamic] Error 255 MCMAHON/Test-XML-Simple-0.10.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports MCMAHON/Test-XML-Simple-0.10.tar.gz Running make install make test had returned bad status, won't install without force
Subject: Re: [rt.cpan.org #49821]
Date: Fri, 18 Sep 2009 17:47:46 -0700
To: bug-Test-XML-Simple [...] rt.cpan.org
From: Joe McMahon <joe.mcmahon [...] gmail.com>
Thanks. I'll get right on it. If you have a patch yourself, it's on github at http://github.com/joemcmahon/test-xml-simple - thanks if you do.
On Fri Sep 18 20:48:09 2009, joe.mcmahon@gmail.com wrote: Show quoted text
> Thanks. I'll get right on it. If you have a patch yourself, it's on > github at http://github.com/joemcmahon/test-xml-simple - thanks if you > do.
archname is i486-linux-gnu-thread-multi, Ubuntu 5.10 or something
Subject: Re: [rt.cpan.org #49821] test failure prevents installation
Date: Sat, 19 Sep 2009 00:35:17 -0700
To: bug-Test-XML-Simple [...] rt.cpan.org
From: Joe McMahon <joe.mcmahon [...] gmail.com>
Yep, it's the threading - just confirmed no failure on my non-threaded Perl. If I can't patch round it I'll SKIP the tests that need threading.
Subject: Re: [rt.cpan.org #49821] test failure prevents installation
Date: Sat, 19 Sep 2009 03:01:35 -0700
To: bug-Test-XML-Simple [...] rt.cpan.org
From: Joe McMahon <joe.mcmahon [...] gmail.com>
I have converted the tests to Test::Builder::Tester, which seems perfectly happy with my threaded 5.8 perl on OS X. I will be uploading it ASAP. I've also corrected the failure reporting via Test::Builder::Level so that test failures are reported in the script, not inside Test::XML::Simple. --- Joe M.
Release 1.0 pushed to CPAN less than 2 minutes ago. Tests rewritten to use Test::Builder::Tester, which does not have any problem with threaded Perls, and reportng now reports the failure at the test invocation instead of some random place inside Test::XML::Simple that no one cares about.
Release 1.0 pushed to CPAN less than 2 minutes ago. Tests rewritten to use Test::Builder::Tester, which does not have any problem with threaded Perls, and reportng now reports the failure at the test invocation instead of some random place inside Test::XML::Simple that no one cares about.