num009 is incredibly platform-sensitive
The functions tested by num009 are certainly worthwhile to test, but we really need to find a better way to test them. Currently the test seemingly fails in more places than it passes:
- Fails on Darwin (#2370)
- Fails on POWER8 (#13634)
- Fails on Win32 when in the
ghciway (no ticket) - Fails under i386 on CircleCI (e.g. https://circleci.com/gh/ghc/ghc/3666)
Perhaps we should instead test the output against the same evaluations performed by a C program. This would eliminate spurious failures due to platform or C library differences.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.2.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | high |
| Resolution | Unresolved |
| Component | Test Suite |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |