Cabal's detailed test interface

José Pedro Magalhães jpm at cs.uu.nl
Wed Aug 31 09:30:03 CEST 2011


Hi all,

I tried to use the detailed-1.0 test interface, according to the
instructions on http://www.haskell.org/cabal/users-guide/#test-suites. What
I got:

bash-3.2$ cabal --version
> cabal-install version 0.10.2
> using version 1.10.2.0 of the Cabal library
> bash-3.2$ cabal configure
> cabal: HarmTrace.cabal:30: Test suite "test-harmtrace" is missing required
> field "type" or the field is not present in all conditional branches. The
> available test types are: exitcode-stdio-1.0
>

Snippet of the .cabal file:

test-suite              test-harmtrace
>   type:                 detailed-1.0
>   test-module:          HarmTrace.Test.Test
>   build-depends:        HUnit >= 1.2, Cabal >= 1.10.2.0
>


What am I doing wrong? It seems like my cabal does not support anything
other than exitcode...


Thanks,
Pedro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/cabal-devel/attachments/20110831/0dfb43f1/attachment.htm>


More information about the cabal-devel mailing list