cabal test suite
Duncan Coutts
duncan.coutts at googlemail.com
Wed Dec 1 00:09:43 CET 2010
On Sun, 2010-11-28 at 18:01 +0100, Phyx wrote:
> Evening,
>
>
>
> I’ve implemented a Cabal api across the entire package, the verbosity
> flag is now passed via a monad along with overridable logging
> functions.
>
> Along the way I’ve also replaced some hardcoded putStrLn with “notice”
> calls so they always get printed, and it compiles, but I can’t run the
> test suites.
Great.
> Is there any particular reasons why the tests depend on the unix
> package?
No, it seems quite unnecessary for it to use that. The module
tests/PackageTests/PackageTester.hs uses createPipe in it's run
function, however it looks like that function could easily be replaced
with a call to the portable createProcess.
Duncan
More information about the cabal-devel
mailing list