Skip Menu |

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

Report information
The Basics
Id: 120708
Status: resolved
Priority: 0/
Queue: XML-Compile

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

Bug Information
Severity: (no value)
Broken in: 1.55
Fixed in: 1.56



Subject: t/92json.t fails tests

This new test added in 1.55 seems to fail, and CPAN Analysis seems to indicate Math::BigInt is a culprit:

http://analysis.cpantesters.org/solved?distv=XML-Compile-1.55#mod%3AMath%3A%3ABigInt



PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Test::More version 1.302075
Test::Deep version 1.120
Log::Report version 1.19
Math::BigInt version 1.999806
String::Print version 0.15
XML::LibXML version 2.0128
XML::Compile version 1.55
XML::Compile::SOAP version 3.21
XML::Compile::Tester version 0.90
XML::Compile::Dumper not installed
XML::Compile::Cache version 1.05

t/92json.t ........ Argument "2.27300_01" isn't numeric in numeric lt (<) at t/92json.t line 26.
# JSON::PP too old, requires 2.91 to work
t/92json.t ........ 1/?
#   Failed test 'json serialization (Cpanel::JSON::XS) for decimal'
#   at t/92json.t line 173.
#          got: '-1e+20'
#     expected: '-99999999999999999999.9999'

#   Failed test 'json serialization (Cpanel::JSON::XS) for decimal'
#   at t/92json.t line 182.
#          got: '1e+20'
#     expected: '99999999999999999999.9999'
# Looks like you failed 2 tests of 202.
t/92json.t ........ Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/202 subtests
    (less 5 skipped subtests: 195 okay)
    (9 TODO tests unexpectedly succeeded)

Test Summary Report
-------------------
t/92json.t      (Wstat: 512 Tests: 202 Failed: 2)
  Failed tests:  163, 181
  TODO passed:   84, 86, 88, 186-191
  Non-zero exit status: 2
Files=51, Tests=3380, 11 wallclock secs ( 0.77 usr  0.17 sys + 20.34 cusr  3.09 csys = 24.37 CPU)
Result: FAIL


-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
 

All cpantesters results 'PASS', so I assume it was fixed somewhere