cabal test seems broken with cabal-install HEAD

Johan Tibell johan.tibell at gmail.com
Thu Feb 23 02:20:22 CET 2012


Hi,

I tried to use cabal-install from today's HEAD but it doesn't seem to
pick up test-suites anymore:

$ ../cabal/cabal-install/dist/build/cabal/cabal clean
cleaning...
$ ../cabal/cabal-install/dist/build/cabal/cabal configure
--enable-tests --enable-library-coverage
Resolving dependencies...
Configuring hashable-1.1.2.3...
$ ../cabal/cabal-install/dist/build/cabal/cabal build
Building hashable-1.1.2.3...
Preprocessing library hashable-1.1.2.3...
[1 of 1] Compiling Data.Hashable    ( Data/Hashable.hs,
dist/build/Data/Hashable.o )
Registering hashable-1.1.2.3...
$ ../cabal/cabal-install/dist/build/cabal/cabal test
--test-option=--plain --test-option=--jxml=dist/unit-tests.xml
cabal: No test suites enabled. Did you remember to configure with
'--enable-tests'?

This is using the hashable package from https://github.com/tibbe/hashable

-- Johan



More information about the cabal-devel mailing list