cabal build <component> fails for test suites #1147

Closed
tibbe opened this Issue Dec 13, 2012 · 1 comment

3 participants

@tibbe
Haskell member

I tried to build the intmap-lazt-properties component of the containers package using the new support for building individual components. It fails with this message:

$ cabal build test:intmap-lazy-properties
Configuring with default flags. If this fails, please run configure manually.
Resolving dependencies...
Configuring containers-0.5.1.0...
cabal: Cannot build the test suite 'intmap-lazy-properties' because test
suites are not enabled. Run configure with the flag --enable-tests

It seems like we need to reconfigure with --enable-test automatically.

The same most likely goes for benchmarks.

@dcoutts dcoutts was assigned Dec 13, 2012
@ttuegel
Haskell member

This has been fixed for ages.

@ttuegel ttuegel closed this Sep 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment