[Haskell-cafe] Re: Cabal package with library and tests

Mauricio briqueabraque at yahoo.com
Thu Oct 16 06:09:19 EDT 2008

>     I'm writing a Cabal package, using main=defaultMain
>     in Setup.hs. It has a library, and I want to also
>     build a few executables so I can test the library.
>     How am I supposed to do that? (...)
> You might consider looking at the EMGM cabal file in the source.
>   https://svn.cs.uu.nl:12443/viewvc/dgp-haskell/EMGM/
 > (...)

 From the site:

   Échec de la connexion sécurisée
   svn.cs.uu.nl:12443 utilise un certificat de sécurité invalide.
   Le certificat n'est pas sûr car l'autorité délivrant le certificat est
   (Code d'erreur : sec_error_unknown_issuer)

The test argument to Setup seems nice. Is there some
already defined on the hook for tests?


More information about the Haskell-Cafe mailing list