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

Magnus Therning magnus at therning.org
Fri Mar 18 20:37:06 CET 2011

After upgrading to ghc7 and Cabal 1.10 I get the following message
when running 'Setup configure' on one of my packages:

    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?


[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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110318/13eea0f0/attachment.pgp>

More information about the Haskell-Cafe mailing list