cabal test seems broken with cabal-install HEAD
Thomas Tuegel
ttuegel at gmail.com
Thu Feb 23 02:41:47 CET 2012
On Wed, Feb 22, 2012 at 7:20 PM, Johan Tibell <johan.tibell at gmail.com> wrote:
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cabal-configure-enable-tests.dpatch
Type: application/octet-stream
Size: 35309 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/cabal-devel/attachments/20120222/ad2c822a/attachment-0001.obj>
More information about the cabal-devel
mailing list