Skip Menu |

This queue is for tickets about the Math-BigInt CPAN distribution.

Report information
The Basics
Id: 65580
Status: resolved
Priority: 0/
Queue: Math-BigInt

Owner: Nobody in particular
Requestors: [...]

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

Subject: Latest release breaks Math::BigInt::Pari tests
It seems like the tests for Math::BigInt::Pari get broken when trying to run against 1.991 of Math::BigInt. The test results look like this: Building and testing Math-BigInt-Pari-1.14 cp lib/Math/BigInt/ blib/lib/Math/BigInt/ Manifying blib/man3/Math::BigInt::Pari.3 PERL_DL_NONLAZY=1 /home/build/perl5/perlbrew/perls/perl-5.10.1/bin/perl5.10.1 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/bigfltpm.t .... ok t/bigintpari.t .. ok # Test 1648 got: "-3" ( at line 206 fail #916) # Expected: "NaN" # Test 1684 got: "-4" ( at line 206 fail #934) # Expected: "NaN" t/bigintpm.t .... Failed 2/3213 subtests t/biglog.t ...... ok t/bigroot.t ..... ok t/pod.t ......... ok t/pod_cov.t ..... ok Test Summary Report ------------------- t/bigintpm.t (Wstat: 0 Tests: 3213 Failed: 2) Failed tests: 1648, 1684 Files=7, Tests=5716, 4 wallclock secs ( 0.54 usr 0.02 sys + 3.88 cusr 0.02 csys = 4.46 CPU) Result: FAIL Failed 1/7 test programs. 2/5716 subtests failed. make: *** [test_dynamic] Error 255
From: [...]
Download (untitled) / with headers
text/plain 129b
Sorry, forgot to mention this works fine against 1.99. Also tried this on a variety of platforms (various Linuxes, Solaris, BSD)
Download (untitled) / with headers
text/plain 364b
Thanks for the report. The problem here is the test files in the Math-BigInt-Pari distribution. They haven't been updated to reflect the recent extensions to Math-BigInt. The test suits for the libraries/backends (Calc, FastCalc, GMP, and Pari) are so tightly integrated with Math::BigInt that I guess new versions of them should be released all at the same time.
Fixed in Math-BigInt-Pari-1.15.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to