-
Notifications
You must be signed in to change notification settings - Fork 841
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
stack test --coverage
crashes
#1162
Comments
Hey Soenke, thanks for reporting this! I can indeed reproduce the issue, it's due to a change I made a few hours ago in an attempt to fix coverage results. I've reverted the change. The problem is that I need to get a package key (those things that look like |
@soenkehahn I've reverted the commit that caused this, so this particular issue is now fixed. The core issue is unfortunately unresolved: #1181 It'll get fixed one way or another, though. |
I added a library section to the cabal file and let the test suite depend on it. Then everything works. It would be nice if that weren't necessary of course. Btw, this is not at all urgent to me. It just would be great if |
@soenkehahn Welcome! I've added some more explanation of why it's done this way here: #1008 (comment) Also, I've just added a |
stack test --coverage
crashes with the following message:/home/shahn/dead-code-detection/.stack-work/dist/x86_64-linux/Cabal-1.22.4.0/package.conf.inplace/dead-code-detection-0.4-inplace.conf: openFile: does not exist (No such file or directory)
stack
revision: ddc4588 (recent master)Running
stack test --coverage
in https://github.com/soenkehahn/dead-code-detection/tree/b405254521faf4cce78ee9fc819a323fbcdac983.The text was updated successfully, but these errors were encountered: