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

Simplify test fails with divide by zero (again). #620

Open
philderbeast opened this issue Aug 5, 2022 · 0 comments
Open

Simplify test fails with divide by zero (again). #620

philderbeast opened this issue Aug 5, 2022 · 0 comments

Comments

@philderbeast
Copy link
Contributor

Similar to #558 (which no longer fails), I saw a CI failure and it is reproducible:

> cabal test tasty --test-options "--quickcheck-replay=85303 --quickcheck-max-size=4"
...
  simplify does not increase expression size
    PLE:                                       FAIL
      *** Failed! Exception: 'divide by zero' (after 379 tests and 3 shrinks):
      EBin Mod (ECon (I 0)) (ECon (I 0))
      Use --quickcheck-replay=85303 --quickcheck-max-size=4 to reproduce.
      Use -p '/PLE/' to rerun this test only.
    Interpreter:                               FAIL
      *** Failed! Exception: 'divide by zero' (after 379 tests and 3 shrinks):
      EBin Mod (ECon (I 0)) (ECon (I 0))
      Use --quickcheck-replay=85303 --quickcheck-max-size=4 to reproduce.
      Use -p '/Interpreter/' to rerun this test only.
  interpret
    computes a fixpoint:                       FAIL
      *** Failed! Exception: 'divide by zero' (after 379 tests and 3 shrinks):
      EBin Mod (ECon (I 0)) (ECon (I 0))
      Exception thrown while showing test case: 'divide by zero'
      Use --quickcheck-replay=85303 --quickcheck-max-size=4 to reproduce.
      Use -p '/computes a fixpoint/' to rerun this test only.
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

1 participant