[Haskell-cafe] Cabal test interface, what/where is it?

JP Moresmau jpmoresmau at gmail.com
Fri Mar 18 21:35:51 CET 2011


Hello, the following URL contains some useful information:
http://www.haskell.org/cabal/release/cabal-1.10.1.0/doc/users-guide/#test-suites

Hope this helps,

JP

On Fri, Mar 18, 2011 at 8:37 PM, Magnus Therning <magnus at therning.org> wrote:
> After upgrading to ghc7 and Cabal 1.10 I get the following message
> when running 'Setup configure' on one of my packages:
>
> Setup.hs:3:1:
>    Warning: In the use of `runTests'
>             (imported from Distribution.Simple, but defined in Distribution.Simple.UserHooks):
>             Deprecated: "Please use the new testing interface instead!"
>
> I usually turn to the Cabal docs at [1], but the new testing interface
> isn't mentioned.  Looking through the haddock API reference doesn't
> offer any obvious pointers.
>
> So, where should I turn to get rid of the warning?
>
> /M
>
> [1] http://www.haskell.org/ghc/docs/latest/html/Cabal/
> --
> Magnus Therning                      OpenPGP: 0xAB4DFBA4
> email: magnus at therning.org   jabber: magnus at therning.org
> twitter: magthe               http://therning.org/magnus
>
> I invented the term Object-Oriented, and I can tell you I did not have
> C++ in mind.
>     -- Alan Kay
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>



-- 
JP Moresmau
http://jpmoresmau.blogspot.com/



More information about the Haskell-Cafe mailing list