
On Wed, Feb 22, 2012 at 7:20 PM, Johan Tibell
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'?
Sorry! I posted the patch for this to the list a few days ago, but I hadn't gone back to bug someone about committing it. I'm attaching it again; if it works for you, I'll push harder. Thanks! -- Thomas Tuegel