-
Notifications
You must be signed in to change notification settings - Fork 52
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
Inspection testing with coverage #107
Comments
Either way is fine from my perspective, whatever is easier. Probably moving to a separate test suite is a cleaner option? Sorry, I'm on vacation, cannot take an in-depth look. |
No worries. Enjoy your vacation, I'll take care of it |
lehins
changed the title
Inspection testiing with coverage
Inspection testing with coverage
Jun 30, 2021
lehins
added a commit
that referenced
this issue
Sep 7, 2021
…ilt with `-fhpc`. Fix #107 Disable inspection testing for ghc-7.10 Ensure inspection tests do no nothing for pre ghc-8 compiler versions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Inspection testing that was introduced in #102 fails when coverage report is being produced.
It is known that when compiled with
-fhpc
the binary produced is completely different and execution will follow a very different path. This doesn't affect the outcome of pure functions and only occasionally affects stuff that runs in IO (eg. concurrency), but because it affects core inspection tests can and do fail.So, what we can do about it? In my opinion it would be ok, to allow inspection testing failure when compiled with coverage. Potential solutions that come to mind
CC @Bodigrim Thoughts?
The text was updated successfully, but these errors were encountered: