Skip to content

cabal configure gives an incomprehensible error message if a benchmark and test-suite have the same name #1304

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
bos opened this issue May 1, 2013 · 1 comment

Comments

@bos
Copy link
Contributor

bos commented May 1, 2013

While working on a package last night:

$ cabal configure
Resolving dependencies...
Configuring critbit-0.0.0.0...
cabal: Test sharing name of benchmark found. Consider this a bug.

I had absolutely no idea how to parse the message "Test sharing name of benchmark found. Consider this a bug."

First part: "Test sharing name of benchmark found."

  • This actually means "there exists a test in your .cabal file that has the same name as a benchmark". It would be helpful if cabal stated the name of the offending test and benchmark.

Second part: "Consider this a bug."

  • This should be "Error: rest of error message". I have no way of knowing whether "Consider this a bug" means "this is a bug in your cabal file" or "this is a bug in cabal".
@23Skidoo
Copy link
Member

23Skidoo commented May 2, 2013

Related: #1007, #1008.

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