Skip to content
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

leaving a module out of test-suite/other-modules yields a cryptic linker error #2419

Closed
erikkaplun opened this issue Feb 16, 2015 · 1 comment

Comments

@erikkaplun
Copy link

Consider https://github.com/eallik/mergesort

If the TestProperties module is accidentally left out of test/suite/other-modules in the .cabal file, cabal test yields a cryptic error message shown in erroroutput.txt; this is at commit c4dbd6c; commit 6887d16 fixes the problem and cabal test works just fine from then on.

My "complaint" here is that cabal should print a human friendly error message about the situation, instead of letting the linker fail; i.e. it should notice there's a problem, instead of handing over to the linker only for it to fail in a way that is almost completely undiagnosable for a beginner like myself.

@ttuegel
Copy link
Member

ttuegel commented Feb 28, 2015

This is a duplicate of #1746.

@ttuegel ttuegel closed this as completed Feb 28, 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

2 participants