You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found this while turning https://github.com/mgsloan/multi-test-suite into an integration test. Running stack test followed by stack test --coverage results in empty coverage reports. This appears to be an issue with GHC recompilation checking, as instead doing stack test --coverage --ghc-options -fforce-recomp solves the problem.
I'm not sure what to do about this. The best thing I can think of is a bit tricky - detect when this flag is newly enabled or disabled and supply --ghc-options --fforce-recomp for this circumstance.
The text was updated successfully, but these errors were encountered:
The stack.yaml in the original repository was using lts-3.9 (GHC 7.10.2), which is no longer supported by modern Stack. I can't reproduce any problem with stack test followed by stack text --coverage, so I am going to close this issue.
I found this while turning https://github.com/mgsloan/multi-test-suite into an integration test. Running
stack test
followed bystack test --coverage
results in empty coverage reports. This appears to be an issue with GHC recompilation checking, as instead doingstack test --coverage --ghc-options -fforce-recomp
solves the problem.I'm not sure what to do about this. The best thing I can think of is a bit tricky - detect when this flag is newly enabled or disabled and supply
--ghc-options --fforce-recomp
for this circumstance.The text was updated successfully, but these errors were encountered: