START math/p5-Math-BigInt-GMP 2025-02-06T10:39:52Z ===> Regression tests for p5-Math-BigInt-GMP-1.6011 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- GMP.bs blib/arch/auto/Math/BigInt/GMP/GMP.bs 644 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 t/00sig.t ................ skipped: Set the environment variable TEST_SIGNATURE to enable this test. # # Testing with Perl 5.040001, /usr/bin/perl # # Version Module # ------- ------ # 1.6011 Math::BigInt::GMP # 2.003002 Math::BigInt # # Version Library # ------- ------- # 6.3.0 GMP # t/01load.t ............... ok # Failed test '$x = Math::BigFloat->new("2"); $y = Math::BigFloat->new("18.2"); $x <<= $y; $x->copy()->bfround(-9);' # at ./t/bigfltpm.inc line 469. # got: '524288.000000000' # expected: '602248.763144685' # Looks like you failed 1 test of 3089. t/bigfltpm.t ............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/3089 subtests (less 1 skipped subtest: 3087 okay) t/bigintg.t .............. ok # Failed test '$x = Math::BigInt->new("+8"); $y = Math::BigInt->new("-2"); $x << $y;' # at ./t/bigintpm.inc line 210. # got: '2' # expected: 'NaN' # Failed test '$x = Math::BigInt->new("+1234"); $y = Math::BigInt->new("-3"); $x->blsft($y, 10);' # at ./t/bigintpm.inc line 210. # got: '1' # expected: 'NaN' # Failed test '$x = Math::BigInt->new("+2"); $y = Math::BigInt->new("-2"); $x >> $y;' # at ./t/bigintpm.inc line 210. # got: '8' # expected: 'NaN' # Failed test '$x = Math::BigInt->new("+1234"); $y = Math::BigInt->new("-3"); $x->brsft($y, 10);' # at ./t/bigintpm.inc line 210. # got: '1234000' # expected: 'NaN' # Looks like you failed 4 tests of 4298. t/bigintpm.t ............. Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/4298 subtests (less 54 skipped subtests: 4240 okay) t/biglog.t ............... ok t/bigroot.t .............. ok t/mbi-from-big-scalar.t .. ok t/mbi_rand.t ............. ok # Failed test '$x = Math::BigInt->bzero(); $x->accuracy(5); $x->{_a}' # at ./t/mbimbf.inc line 258. # got: undef # expected: '5' # Failed test '$x = Math::BigInt->bzero(); $x->precision(5); $x->{_p}' # at ./t/mbimbf.inc line 262. # got: undef # expected: '5' # Failed test '$x = Math::BigInt->new(0); $x->accuracy(5); $x->{_a}' # at ./t/mbimbf.inc line 266. # got: undef # expected: '5' # Failed test '$x = Math::BigInt->new(0); $x->precision(5); $x->{_p}' # at ./t/mbimbf.inc line 270. # got: undef # expected: '5' # Failed test '$x = Math::BigInt->bzero(); $x->round(5); $x->{_a}' # at ./t/mbimbf.inc line 274. # got: undef # expected: '5' # Failed test '$x = Math::BigInt->bzero(); $x->round(undef, 5); $x->{_p}' # at ./t/mbimbf.inc line 278. # got: undef # expected: '5' # Failed test '$x = Math::BigInt->new(0); $x->round(5); $x->{_a}' # at ./t/mbimbf.inc line 282. # got: undef # expected: '5' # Failed test '$x = Math::BigInt->new(0); $x->round(undef, 5); $x->{_p}' # at ./t/mbimbf.inc line 286. # got: undef # expected: '5' # Failed test '$x = Math::BigFloat->bzero(); $x->accuracy(5); $x->{_a}' # at ./t/mbimbf.inc line 258. # got: undef # expected: '5' # Failed test '$x = Math::BigFloat->bzero(); $x->precision(5); $x->{_p}' # at ./t/mbimbf.inc line 262. # got: undef # expected: '5' # Failed test '$x = Math::BigFloat->new(0); $x->accuracy(5); $x->{_a}' # at ./t/mbimbf.inc line 266. # got: undef # expected: '5' # Failed test '$x = Math::BigFloat->new(0); $x->precision(5); $x->{_p}' # at ./t/mbimbf.inc line 270. # got: undef # expected: '5' # Failed test '$x = Math::BigFloat->bzero(); $x->round(5); $x->{_a}' # at ./t/mbimbf.inc line 274. # got: undef # expected: '5' # Failed test '$x = Math::BigFloat->bzero(); $x->round(undef, 5); $x->{_p}' # at ./t/mbimbf.inc line 278. # got: undef # expected: '5' # Failed test '$x = Math::BigFloat->new(0); $x->round(5); $x->{_a}' # at ./t/mbimbf.inc line 282. # got: undef # expected: '5' # Failed test '$x = Math::BigFloat->new(0); $x->round(undef, 5); $x->{_p}' # at ./t/mbimbf.inc line 286. # got: undef # expected: '5' # Failed test '$z = $x + $y' # at ./t/mbimbf.inc line 356. # got: '777.777' # expected: '777.8' # Failed test '$z = $y - $x' # at ./t/mbimbf.inc line 359. # got: '530.865' # expected: '530.9' # Failed test '$z = $y * $x' # at ./t/mbimbf.inc line 362. # got: '80779.853376' # expected: '80780' # Failed test '$z = $x ** 2' # at ./t/mbimbf.inc line 365. # got: '15241.383936' # expected: '15241' # Failed test '$z = $x * $x' # at ./t/mbimbf.inc line 368. # got: '15241.383936' # expected: '15241' # Failed test '$z = $z / 2' # at ./t/mbimbf.inc line 378. # got: '61.728' # expected: '62' # Failed test '$z++' # at ./t/mbimbf.inc line 384. # got: '123457' # expected: '123500' # Failed test '$z = $x + $y' # at ./t/mbimbf.inc line 392. # got: '777777' # expected: '777800' # Failed test '$z = $y - $x' # at ./t/mbimbf.inc line 395. # got: '530865' # expected: '530900' # Failed test '$z = $y * $x' # at ./t/mbimbf.inc line 398. # got: '80779853376' # expected: '80780000000' # Failed test '$z = $x ** 2' # at ./t/mbimbf.inc line 401. # got: '15241383936' # expected: '15241000000' # Failed test '$z++' # at ./t/mbimbf.inc line 409. # got: '123457' # expected: '123460' # Failed test '$z = $z / 2' # at ./t/mbimbf.inc line 414. # got: '61728' # expected: '62000' # Failed test '$x->bnot()' # at ./t/mbimbf.inc line 418. # got: '-123401' # expected: '-123400' # Failed test '$x->babs()' # at ./t/mbimbf.inc line 424. # got: '123401' # expected: '123400' # Failed test '$x->bneg()' # at ./t/mbimbf.inc line 428. # got: '123401' # expected: '123400' # Failed test '$x->{_a}' # at ./t/mbimbf.inc line 440. # got: undef # expected: '6' # Failed test '$x->{_a}' # at ./t/mbimbf.inc line 452. # got: undef # expected: '6' # Failed test '$x->bdiv(3)' # at ./t/mbimbf.inc line 626. # got: '3.333333333333333333333333333333333333333' # expected: '3.333' # Failed test '$x->bdiv($y)' # at ./t/mbimbf.inc line 632. # got: '3.333333333333333333333333333333333333333' # expected: '3.333' # Failed test '$x->bdiv(3)' # at ./t/mbimbf.inc line 638. # got: '3.333333333333333333333333333333333333333' # expected: '3.33' # Failed test '$x->bdiv($y) = '3.333'' # at ./t/mbimbf.inc line 657. # got: '3.333333333333333333333333333333333333333' # expected: '3.333' # Failed test '$x->{_a} = 4' # at ./t/mbimbf.inc line 658. # got: undef # expected: '4' # Failed test '$x->bdiv($y) = '3.33'' # at ./t/mbimbf.inc line 667. # got: '3.333333333333333333333333333333333333333' # expected: '3.33' # Failed test '$x->{_p} = -2' # at ./t/mbimbf.inc line 668. # got: undef # expected: '-2' # Failed test '$x = "1.000"' # at ./t/mbimbf.inc line 685. # got: '1' # expected: '1.000' # Failed test '$x = "1.000"' # at ./t/mbimbf.inc line 688. # got: '1.00000' # expected: '1.000' # Failed test '$x->{_a} = 2' # at ./t/mbimbf.inc line 701. # got: '3' # expected: '2' # Failed test '$x->{_a} = 4' # at ./t/mbimbf.inc line 710. # got: undef # expected: '4' # Failed test '$x->{_a} = 3' # at ./t/mbimbf.inc line 717. # got: undef # expected: '3' # Failed test '$x->{_a} = 2' # at ./t/mbimbf.inc line 725. # got: '5' # expected: '2' # Failed test '$x->{_a} = 1' # at ./t/mbimbf.inc line 733. # got: '5' # expected: '1' # Failed test '$x->{_a} = 0' # at ./t/mbimbf.inc line 740. # got: undef # expected: '0' # Failed test '$x->{_a} = 0' # at ./t/mbimbf.inc line 747. # got: undef # expected: '0' # Failed test '$x->{_a} = 0' # at ./t/mbimbf.inc line 755. # got: '5' # expected: '0' # Failed test '$x = "1.00000"' # at ./t/mbimbf.inc line 820. # got: '1' # expected: '1.00000' # Failed test '$x->{_p} = -2' # at ./t/mbimbf.inc line 825. # got: '-5' # expected: '-2' # Failed test '$x->{_a} = 2' # at ./t/mbimbf.inc line 830. # got: '5' # expected: '2' # Failed test '$x->{_a} = 2' # at ./t/mbimbf.inc line 835. # got: '5' # expected: '2' # Failed test '$x->{_a} = 4' # at ./t/mbimbf.inc line 842. # got: undef # expected: '4' # Failed test '$x = Math::BigInt->new(2, 1); $x->{_a}' # at ./t/mbimbf.inc line 1004. # got: undef # expected: '1' # Failed test '$x = Math::BigInt->new(2, undef, 1); $x->{_p}' # at ./t/mbimbf.inc line 1011. # got: undef # expected: '1' # Failed test '$x = Math::BigInt->new(2, 1)->bzero(); $x->{_a}' # at ./t/mbimbf.inc line 1016. # got: undef # expected: '1' # Failed test '$x = Math::BigInt->new(2, undef, 1)->bzero(); $x->{_p}' # at ./t/mbimbf.inc line 1023. # got: undef # expected: '1' # Failed test '$x = Math::BigInt->new(2, 1)->bone(); $x->{_a}' # at ./t/mbimbf.inc line 1028. # got: undef # expected: '1' # Failed test '$x = Math::BigInt->new(2, undef, 1)->bone(); $x->{_p}' # at ./t/mbimbf.inc line 1035. # got: undef # expected: '1' # Failed test '$x = Math::BigInt->new(2); $x->{_a}' # at ./t/mbimbf.inc line 1041. # got: undef # expected: '2' # Failed test '$x = Math::BigInt->new(2); $x->bone('+', undef, 2); $x->{_p}' # at ./t/mbimbf.inc line 1049. # got: undef # expected: '2' # Failed test '$x = Math::BigInt->new(2); $x->bone('-', 2, undef); $x->{_a}' # at ./t/mbimbf.inc line 1055. # got: undef # expected: '2' # Failed test '$x = Math::BigInt->new(2); $x->bone('-', undef, 2); $x->{_p}' # at ./t/mbimbf.inc line 1063. # got: undef # expected: '2' # Failed test '$x = Math::BigInt->new(2);$x->bzero(2, undef); $x->{_a}' # at ./t/mbimbf.inc line 1069. # got: undef # expected: '2' # Failed test '$x = Math::BigInt->new(2); $x->bzero(undef, 2); $x->{_p}' # at ./t/mbimbf.inc line 1077. # got: undef # expected: '2' # Failed test '$x = Math::BigFloat->new(2, 1); $x->{_a}' # at ./t/mbimbf.inc line 1004. # got: undef # expected: '1' # Failed test '$x = Math::BigFloat->new(2, undef, 1); $x->{_p}' # at ./t/mbimbf.inc line 1011. # got: undef # expected: '1' # Failed test '$x = Math::BigFloat->new(2, 1)->bzero(); $x->{_a}' # at ./t/mbimbf.inc line 1016. # got: undef # expected: '1' # Failed test '$x = Math::BigFloat->new(2, undef, 1)->bzero(); $x->{_p}' # at ./t/mbimbf.inc line 1023. # got: undef # expected: '1' # Failed test '$x = Math::BigFloat->new(2, 1)->bone(); $x->{_a}' # at ./t/mbimbf.inc line 1028. # got: undef # expected: '1' # Failed test '$x = Math::BigFloat->new(2, undef, 1)->bone(); $x->{_p}' # at ./t/mbimbf.inc line 1035. # got: undef # expected: '1' # Failed test '$x = Math::BigFloat->new(2); $x->{_a}' # at ./t/mbimbf.inc line 1041. # got: undef # expected: '2' # Failed test '$x = Math::BigFloat->new(2); $x->bone('+', undef, 2); $x->{_p}' # at ./t/mbimbf.inc line 1049. # got: undef # expected: '2' # Failed test '$x = Math::BigFloat->new(2); $x->bone('-', 2, undef); $x->{_a}' # at ./t/mbimbf.inc line 1055. # got: undef # expected: '2' # Failed test '$x = Math::BigFloat->new(2); $x->bone('-', undef, 2); $x->{_p}' # at ./t/mbimbf.inc line 1063. # got: undef # expected: '2' # Failed test '$x = Math::BigFloat->new(2);$x->bzero(2, undef); $x->{_a}' # at ./t/mbimbf.inc line 1069. # got: undef # expected: '2' # Failed test '$x = Math::BigFloat->new(2); $x->bzero(undef, 2); $x->{_p}' # at ./t/mbimbf.inc line 1077. # got: undef # expected: '2' # Failed test '$x->{_a} == 3' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '3' # Failed test '$x->{_p} == -3' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '-3' # Failed test '$x->{_a} == 3' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '3' # Failed test '$x->{_p} == -3' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '-3' # Failed test '$x->{_a} == 3' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '3' # Failed test '$x->{_p} == -3' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '-3' # Failed test '$x->{_a} == 3' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '3' # Failed test '$x->{_p} == -3' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '-3' # Failed test '$x->{_a} == 3' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '3' # Failed test '$x->{_p} == -3' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '-3' # Failed test '$x->{_a} == 3' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '3' # Failed test '$x->{_p} == -3' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '-3' # Failed test '$x->{_a} == 3' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '3' # Failed test '$x->{_p} == -3' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '-3' # Failed test '$x->{_a} == 3' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '3' # Failed test '$x->{_p} == -3' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '-3' # Failed test '$x->{_a} == 4' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '4' # Failed test '$x->{_a} == 4' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '4' # Failed test '$x->{_p} == -4' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '-4' # Failed test '$x->{_p} == -4' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '-4' # Failed test '$x->{_a} == 4' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '4' # Failed test '$x->{_a} == 4' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '4' # Failed test '$x->{_p} == -4' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '-4' # Failed test '$x->{_p} == -4' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '-4' # Failed test '$x->{_a} == 1' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '1' # Failed test '$x->{_a} == 1' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '1' # Failed test '$x->{_p} == -1' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '-1' # Failed test '$x->{_p} == -1' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '-1' # Failed test '$x->{_a} == 2' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '2' # Failed test '$x->{_a} == 2' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '2' # Failed test '$x->{_p} == 1' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '1' # Failed test '$x->{_p} == 1' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '1' # Failed test '$x->{_a} == 1' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '1' # Failed test '$x->{_a} == 1' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '1' # Failed test '$x->{_p} == 3' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '3' # Failed test '$x->{_p} == 3' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '3' # Failed test '$x->{_a} == 2' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '2' # Failed test '$x->{_a} == 2' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '2' # Failed test '$x->{_p} == 1' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '1' # Failed test '$x->{_p} == 1' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '1' # Failed test '$x->{_a} == 2' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '2' # Failed test '$x->{_a} == 2' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '2' # Failed test '$x->{_p} == 2' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '2' # Failed test '$x->{_p} == 2' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '2' # Failed test '$x->{_a} == 1' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '1' # Failed test '$x->{_a} == 1' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '1' # Failed test '$x->{_p} == 3' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '3' # Failed test '$x->{_p} == 3' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '3' # Failed test '$x->{_a} == 2' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '2' # Failed test '$x->{_a} == 2' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '2' # Failed test '$x->{_p} == 1' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '1' # Failed test '$x->{_p} == 1' # at ./t/mbimbf.inc line 1325. # got: undef # expected: '1' # Failed test '$x->{_a} == 2' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '2' # Failed test '$x->{_a} == 2' # at ./t/mbimbf.inc line 1317. # got: undef # expected: '2' # Failed test '$x has A from global' # at t/mbimbf.t line 71. # got: undef # expected: '42' # Failed test '$x has still A of 42' # at t/mbimbf.t line 74. # got: undef # expected: '42' # Failed test '$x has A from global' # at t/mbimbf.t line 71. # got: undef # expected: '42' # Failed test '$x has still A of 42' # at t/mbimbf.t line 74. # got: undef # expected: '42' # Looks like you planned 738 tests but ran 684. # Looks like you failed 138 tests of 684 run. t/mbimbf.t ............... Dubious, test returned 138 (wstat 35328, 0x8a00) Failed 192/738 subtests (less 12 skipped subtests: 534 okay) t/storable.t ............. ok t/threads.t .............. skipped: Perl compiled without ithreads t/version.t .............. ok Test Summary Report ------------------- t/bigfltpm.t (Wstat: 256 (exited 1) Tests: 3089 Failed: 1) Failed test: 3087 Non-zero exit status: 1 t/bigintpm.t (Wstat: 1024 (exited 4) Tests: 4298 Failed: 4) Failed tests: 713, 725, 745, 757 Non-zero exit status: 4 t/mbimbf.t (Wstat: 35328 (exited 138) Tests: 684 Failed: 138) Failed tests: 130-137, 139-146, 190-205, 208, 212, 251 253, 255, 258-259, 263-264, 269, 271, 276 278, 280, 282, 284, 286, 288, 290, 303 305, 307, 309, 311, 359, 362-363, 366-367 370-371, 374-375, 378-379, 382, 395, 398-399 402-403, 406-407, 410-411, 414-415, 418 479, 482, 485, 488, 493, 496, 499, 502 505, 508, 511, 514, 517, 520, 523, 526 531, 534, 537, 540, 543, 546, 549, 552 557, 560, 563, 566, 571, 574, 577, 580 585, 588, 591, 594, 599, 602, 605, 608 611, 614, 617, 620, 625, 628, 631, 634 639, 642, 645, 648, 655, 658, 676-677, 679-680 Non-zero exit status: 138 Parse errors: Bad plan. You planned 738 tests but ran 684. Files=13, Tests=9043, 8 wallclock secs ( 1.09 usr 0.15 sys + 7.09 cusr 0.79 csys = 9.12 CPU) Result: FAIL Failed 3/13 test programs. 143/9043 subtests failed. *** Error 255 in /usr/ports/pobj/p5-Math-BigInt-GMP-1.6011/Math-BigInt-GMP-1.6011 (Makefile:1056 'test_dynamic') *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3104 '/usr/ports/pobj/p5-Math-BigInt-GMP-1.6011/.test_done': @cd /usr/ports/pobj/...) *** Error 2 in /usr/ports/math/p5-Math-BigInt-GMP (/usr/ports/infrastructure/mk/bsd.port.mk:2712 'test': @lock=p5-Math-BigInt-GMP-1.6011; e...) FAIL math/p5-Math-BigInt-GMP Command 'make test' failed: 512