Menu

#441 Tests fail with uselongdouble perls in PDLA (works in PDL-2.x master)

normal
closed-fixed
nobody
None
5
2022-04-14
2017-10-28
No

If perl is compiled with -Duselongdouble, then some tests in the ETJ/PDLA-2.013003.tar.gz testsuite fail.

On linux:

#   Failed test 'q[e] returns exp(1)'
#   at t/pdl_from_string.t line 301.
#          got: '2.71828182845904509'
#     expected: '2.71828182845904553'
# Got 2.71828182845904509

#   Failed test 'q[E] returns exp(1)'
#   at t/pdl_from_string.t line 304.
#          got: '2.71828182845904509'
#     expected: '2.71828182845904553'
# Got 2.71828182845904509
# Looks like you failed 2 tests of 113.
t/pdl_from_string.t ............. 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/113 subtests 
    (less 1 skipped subtest: 110 okay)
    (3 TODO tests unexpectedly succeeded)

On freebsd:

#   Failed test 'x symmetric trans'
#   at t/limits_trans_err.t line 30.
#     Structures begin differing at:
#          $got->[0] = '-0.301029995663981198'
#     $expected->[0] = '-0.301029995663981195'

#   Failed test 'x asymmetric trans'
#   at t/limits_trans_err.t line 35.
#     Structures begin differing at:
#          $got->[0] = '-0.301029995663981198'
#     $expected->[0] = '-0.301029995663981195'

#   Failed test 'illegal errbar lower bounds'
#   at t/limits_trans_err.t line 42.
#     Structures begin differing at:
#          $got->[0] = '-0.301029995663981198'
#     $expected->[0] = '-0.301029995663981195'
# Looks like you failed 3 tests of 3.
t/limits_trans_err.t ............ 
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/3 subtests 

Discussion

  • Chris Marshall

    Chris Marshall - 2017-10-28

    PDLA split from PDL before the PDL-2.016 release. This problem has been fixed in the PDL-2.x code but it never was re-synchronized into PDLA.

     
  • Chris Marshall

    Chris Marshall - 2017-10-28
    • summary: Tests fail with uselongdouble perls --> Tests fail with uselongdouble perls in PDLA (works in PDL-2.x master)
    • status: open --> open-remind
     
  • Chris Marshall

    Chris Marshall - 2017-10-28

    Leaving this open as a reminder if anyone picks up PDLA.

     
  • mohawk

    mohawk - 2018-04-09

    This matter will now be tracked at https://github.com/PDLPorters/pdl/issues/227

     
  • mohawk

    mohawk - 2022-04-14
    • status: open-remind --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB