Skip Menu |

This queue is for tickets about the MS CPAN distribution.

Report information
The Basics
Id: 132803
Status: resolved
Priority: 0/
Queue: MS

People
Owner: VOLKENING [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: t/mass.t fails (with -Duselongdouble?)
On some of my smoker systems the t/mass.t test fails: ... # Failed test 'PubChem elem_mass(average)' # at t/mass.t line 27. # Failed test 'PubChem elem_mass(avge_mass)' # at t/mass.t line 28. Undefined elem Qq at t/mass.t line 47. Undefined brick FooBar at t/mass.t line 52. Undefined elem Foo at t/mass.t line 54. # Looks like you failed 2 tests of 31. t/mass.t .......... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/31 subtests ... Statistical analysis suggests that this happens if perl was compiled with increased floating point accuracy (i.e. with -Duselongdouble).
On Thu Jun 11 01:57:09 2020, SREZIC wrote: Show quoted text
> ... > # Failed test 'PubChem elem_mass(average)' > # at t/mass.t line 27. > > # Failed test 'PubChem elem_mass(avge_mass)' > # at t/mass.t line 28. > > Statistical analysis suggests that this happens if perl was compiled > with increased floating point accuracy (i.e. with -Duselongdouble).
Thank you for reporting this issue. There was an problem with a value comparison function in the test suite that was poorly written and gave different rounded values with the long doubles enabled. I made the test function more robust and the issue should be resolved in the latest update (0.206003).