Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

diagrams-lib-1.4.0.1 test suite failure #288

Closed
peti opened this issue Mar 4, 2017 · 1 comment
Closed

diagrams-lib-1.4.0.1 test suite failure #288

peti opened this issue Mar 4, 2017 · 1 comment

Comments

@peti
Copy link

peti commented Mar 4, 2017

Citing from http://hydra.nixos.org/build/49691788/nixlog/1/raw:

    shear:                                                                                  FAIL
      *** Failed! Falsifiable (after 2 tests and 5 shrinks): 
      9.198430964966695e-2
      0.0
      0.0
      0.6437505041025977
      Use --quickcheck-replay '1 TFGenR 00000414AD2C5BED0000000007735940000000000000E1D60000002D2B4D1400 0 51539607552 36 0' to reproduce.
    (1,0) rotateTo some dir will return normalised dir:                                     OK
      +++ OK, passed 100 tests.
    rotates:                                                                                FAIL
      *** Failed! Falsifiable (after 2 tests and 1 shrink): 
      1.9831873386198648
      V2 3.386116551210039 0.0
      Use --quickcheck-replay '1 TFGenR 00000414AD2C5BED0000000007735940000000000000E1D60000002D2B4D1400 0 206158430208 38 0' to reproduce.

It appears like those tests fail only on i686 builds, i.e. when compiling for 32 bit Linux, but I am not entirely sure that's the case.

@byorgey
Copy link
Member

byorgey commented Mar 5, 2017

Ugh, it looks like those tests are using == on Double values! To be honest I'm not sure how they have ever worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants