
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. Is there any particular reasons why the tests depend on the unix package? I've tried to install them both using msys and Cygwin, both failed, I'm at a loss on how to test this. Tamar

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
participants (2)
-
Duncan Coutts
-
Phyx