Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Functional tests rely on stack and don't seem to work with new-build #1197

Closed
michaelpj opened this issue Apr 23, 2019 · 2 comments
Closed

Comments

@michaelpj
Copy link
Collaborator

After adding stack to the shell.nix dependencies and hie to the build-tool-depends I get:

Test suite func-test: RUNNING...
Warming up HIE cache...
func-test: fd:45: hGetLine: end of file
func-test: Language server unexpectedly terminated
Test suite func-test: FAIL
@lukel97
Copy link
Collaborator

lukel97 commented Apr 24, 2019

I did a bit of debugging on this last night: the hie instance invoked by cabal new-test :func-test isn’t able to find cabal-helper-wrapper. Oddly enough cabal new-run :func-test is.
The solution was to add cabal-helper:cabal-helper-wrapper to build-tool-depends for func-test, but then I ran into this issue with cabal haskell/cabal#6011

@jneira
Copy link
Member

jneira commented Jan 14, 2020

hie does not longer use cabal-helper-wrapper and we are gonna to run the test suite with cabal v2-test soon in azure ci: #1571

@jneira jneira closed this as completed Jan 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants