You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently wrote a test suite, but typoed one of its dependencies, rendering it unbuildable. Despite there being a completely bogus test suite, the dependency solver happily passed the package, simply opting to disable test suites to make things work.
When I asked new-build to subsequently build the test, I got this message.
ezyang@sabre:~/Dev/backpack-str$ cabal new-build str-undefined:tests
cabal: Cannot build the test suites in the package str-undefined-0.1.0.0
because none of the components are available to build: the test suite
'implements' is not available because the solver did not find a plan that
included the test suites
This message is OK, but a better message would say how to find out what the solver error for test suites was. I think the correct way to do this is to rerun the command with --enable-tests.
The text was updated successfully, but these errors were encountered:
I recently wrote a test suite, but typoed one of its dependencies, rendering it unbuildable. Despite there being a completely bogus test suite, the dependency solver happily passed the package, simply opting to disable test suites to make things work.
When I asked new-build to subsequently build the test, I got this message.
This message is OK, but a better message would say how to find out what the solver error for test suites was. I think the correct way to do this is to rerun the command with
--enable-tests
.The text was updated successfully, but these errors were encountered: