Skip to content

cabal-install test suite has tricky hysteresis problems #2075

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

Closed
ezyang opened this issue Aug 29, 2014 · 4 comments
Closed

cabal-install test suite has tricky hysteresis problems #2075

ezyang opened this issue Aug 29, 2014 · 4 comments

Comments

@ezyang
Copy link
Contributor

ezyang commented Aug 29, 2014

Put simply, it seems pretty sensitive to previous test runs, does an imperfect job of cleaning up after itself, etc. I'll post more detailed debugging information after I figure it out...

@ezyang
Copy link
Contributor Author

ezyang commented Aug 29, 2014

OK, so one thing that I think is happening, is if I run 'cabal test' in a sandbox, it will still use the executable in the sandbox bin, rather than the locally built dist one. Which is wrong wrong wrong.

@23Skidoo
Copy link
Member

it will still use the executable in the sandbox bin, rather than the locally built dist one

Yes, this is a known issue. I think it always uses the one in PATH. That's why it's not enabled on Travis (yet).

@benarmston
Copy link
Contributor

@ezyang I've fixed the only hysteresis issues that I'm aware of with the cabal-install tests. If you can provide details of any others, I can have a look at them too.

@ttuegel
Copy link
Member

ttuegel commented Apr 24, 2015

Closing this, as it appears to be resolved.

@ttuegel ttuegel closed this as completed Apr 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants