Skip Menu |

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

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

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

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



Subject: test failures with 5.22.0
... Configuring P/PJ/PJACKLAM/Math-BigInt-Pari-1.18.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Math::BigInt::Pari Writing MYMETA.yml and MYMETA.json PJACKLAM/Math-BigInt-Pari-1.18.tar.gz /usr/local/perl-forge/v/5.22.0/bin/perl Makefile.PL -- OK Running make for P/PJ/PJACKLAM/Math-BigInt-Pari-1.18.tar.gz cp lib/Math/BigInt/Pari.pm blib/lib/Math/BigInt/Pari.pm Manifying 1 pod document PJACKLAM/Math-BigInt-Pari-1.18.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 "/usr/local/perl-forge/v/5.22.0/bin/perl" "-MExtUtils::Command ::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'i nc', 'blib/lib', 'blib/arch')" t/*.t t/00sig.t ....... skipped: Set the environment variable TEST_SIGNATURE to enable this test. # Testing Math::BigInt::Pari 1.18 # ==> Perl 5.022000, /usr/local/perl-forge/v/5.22.0/bin/perl # ==> Math::BigInt 1.9997 t/01load.t ...... ok t/02pod.t ....... ok t/03podcov.t .... ok # Failed test at t/bigfltpm.inc line 182. # got: '2,1' # expected: '2.25,1' # Failed test at t/bigfltpm.inc line 182. # got: '1,4' # expected: '1.8,4' # Looks like you failed 2 tests of 2343. t/bigfltpm.t .... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2343 subtests t/bigintpari.t .. ok t/bigintpm.t .... ok t/biglog.t ...... ok t/bigroot.t ..... ok Test Summary Report ------------------- t/bigfltpm.t (Wstat: 512 Tests: 2343 Failed: 2) Failed tests: 1626-1627 Non-zero exit status: 2 Files=9, Tests=6199, 5 wallclock secs ( 1.03 usr 0.08 sys + 4.61 cusr 0.11 csys = 5.83 CPU) Result: FAIL Failed 1/9 test programs. 2/6199 subtests failed. make: *** [test_dynamic] Error 255 PJACKLAM/Math-BigInt-Pari-1.18.tar.gz /usr/bin/make test -- NOT OK
Thanks for the report. I am aware of this, though, and I am working on it.
On 2015-08-21 11:35:33, JHI wrote: Show quoted text
> ... > Configuring P/PJ/PJACKLAM/Math-BigInt-Pari-1.18.tar.gz with > Makefile.PL > Checking if your kit is complete... > Looks good > Generating a Unix-style Makefile > Writing Makefile for Math::BigInt::Pari > Writing MYMETA.yml and MYMETA.json > PJACKLAM/Math-BigInt-Pari-1.18.tar.gz > /usr/local/perl-forge/v/5.22.0/bin/perl Makefile.PL -- OK > Running make for P/PJ/PJACKLAM/Math-BigInt-Pari-1.18.tar.gz > cp lib/Math/BigInt/Pari.pm blib/lib/Math/BigInt/Pari.pm > Manifying 1 pod document > PJACKLAM/Math-BigInt-Pari-1.18.tar.gz > /usr/bin/make -- OK > Running make test > PERL_DL_NONLAZY=1 "/usr/local/perl-forge/v/5.22.0/bin/perl" "- > MExtUtils::Command > ::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; > test_harness(0, 'i > nc', 'blib/lib', 'blib/arch')" t/*.t > t/00sig.t ....... skipped: Set the environment variable TEST_SIGNATURE > to enable > this test. > # Testing Math::BigInt::Pari 1.18 > # ==> Perl 5.022000, /usr/local/perl-forge/v/5.22.0/bin/perl > # ==> Math::BigInt 1.9997 > t/01load.t ...... ok > t/02pod.t ....... ok > t/03podcov.t .... ok > > # Failed test at t/bigfltpm.inc line 182. > # got: '2,1' > # expected: '2.25,1' > > # Failed test at t/bigfltpm.inc line 182. > # got: '1,4' > # expected: '1.8,4' > # Looks like you failed 2 tests of 2343. > t/bigfltpm.t .... > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/2343 subtests > t/bigintpari.t .. ok > t/bigintpm.t .... ok > t/biglog.t ...... ok > t/bigroot.t ..... ok > > Test Summary Report > ------------------- > t/bigfltpm.t (Wstat: 512 Tests: 2343 Failed: 2) > Failed tests: 1626-1627 > Non-zero exit status: 2 > Files=9, Tests=6199, 5 wallclock secs ( 1.03 usr 0.08 sys + 4.61 > cusr 0.11 csys = 5.83 CPU) > Result: FAIL > Failed 1/9 test programs. 2/6199 subtests failed. > make: *** [test_dynamic] Error 255 > PJACKLAM/Math-BigInt-Pari-1.18.tar.gz > /usr/bin/make test -- NOT OK
Duplicates https://rt.cpan.org/Ticket/Display.html?id=96198
This was a problem with the test files, which assumed that bdiv() returned the exact quotient and the remainder, rather than the integer quotient and the remainder. The test files included in Math-BigInt-Pari have been updated since then.