GithubHelp home page GithubHelp logo

p5-math-bigint-bitvect's People

Contributors

pjacklam avatar tels avatar

Watchers

 avatar  avatar

Forkers

szabgab

p5-math-bigint-bitvect's Issues

test failures while running in ubuntu:22.10 based Docker container

I just cloned the repo and tried to run the test in a Docker container based on ubuntu:22.10 (here is the dockerfile: https://github.com/szabgab/playground ) I got the following errors:

# make test
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.
t/01load.t .... 1/2 # 
# Testing with Perl 5.034000, /usr/bin/perl
# 
#      Version Module
#      ------- ------
#     1.999838 Math::BigInt
#     1.999838 Math::BigInt::Lib
#         1.18 Math::BigInt::BitVect
#          7.4 Bit::Vector
# 
t/01load.t .... ok   
t/bigfltpm.t .. 1/3089 
#   Failed test '$x = Math::BigFloat->new("0"); $y = Math::BigFloat->new("10"); $x->bcos($y);'
#   at ./t/bigfltpm.inc line 170.
#          got: '1.000000000'
#     expected: '1'

#   Failed test '$x = Math::BigFloat->new("0"); $y = Math::BigFloat->new("20"); $x->bcos($y);'
#   at ./t/bigfltpm.inc line 170.
#          got: '1.0000000000000000000'
#     expected: '1'
t/bigfltpm.t .. 247/3089 Argument "" isn't numeric in subtraction (-) at /usr/local/share/perl/5.34.0/Math/BigFloat.pm line 4682, <DATA> line 387.
Argument "" isn't numeric in subtraction (-) at /usr/local/share/perl/5.34.0/Math/BigFloat.pm line 4682, <DATA> line 388.
Argument "" isn't numeric in subtraction (-) at /usr/local/share/perl/5.34.0/Math/BigFloat.pm line 4682, <DATA> line 389.
Argument "abc" isn't numeric in subtraction (-) at /usr/local/share/perl/5.34.0/Math/BigFloat.pm line 4682, <DATA> line 390.
t/bigfltpm.t .. 2192/3089 # Looks like you failed 2 tests of 3089.
t/bigfltpm.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3089 subtests 
	(less 1 skipped subtest: 3086 okay)
t/bigintbv.t .. ok     
t/bigintpm.t .. ok         
t/biglog.t .... 1/73 
#   Failed test 'blog(100)'
#   at t/biglog.t line 149.
#          got: '100'
#     expected: '2'
t/biglog.t .... 73/73 # Looks like you failed 1 test of 73.
t/biglog.t .... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/73 subtests 
t/bigroot.t ... ok     
t/mbi_rand.t .. ok       
t/mbimbf.t .... 1/738 
#   Failed test '$x->babs()'
#   at ./t/mbimbf.inc line 426.
#          got: '123400'
#     expected: '123401'

#   Failed test '$x->bneg()'
#   at ./t/mbimbf.inc line 430.
#          got: '123400'
#     expected: '123401'

#   Failed test '$x has still A of 42'
#   at t/mbimbf.t line 74.
#          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 failed 4 tests of 738.
t/mbimbf.t .... Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/738 subtests 
	(less 12 skipped subtests: 722 okay)

Test Summary Report
-------------------
t/bigfltpm.t (Wstat: 512 Tests: 3089 Failed: 2)
  Failed tests:  99, 101
  Non-zero exit status: 2
t/biglog.t  (Wstat: 256 Tests: 73 Failed: 1)
  Failed test:  40
  Non-zero exit status: 1
t/mbimbf.t  (Wstat: 1024 Tests: 738 Failed: 4)
  Failed tests:  204-205, 731, 734
  Non-zero exit status: 4
Files=9, Tests=8798, 113 wallclock secs ( 0.59 usr  0.05 sys + 113.53 cusr  0.13 csys = 114.30 CPU)
Result: FAIL
Failed 3/9 test programs. 7/8798 subtests failed.
make: *** [Makefile:838: test_dynamic] Error 4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.