Test Suite's Dependency on Quickcheck

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Wed Sep 13 11:26:10 EDT 2006


On Wed, 2006-09-13 at 01:17 -0500, Brian Smith wrote:
> After further review, I can see that the test suite also requires
> 'network,' 'html,' and 'mtl' for all the tests to pass.
> 
> Maybe we need to separate the packages into three groups: core, tests,
> and extras, where all the packages required by the test suite would
> get put into the "tests" group? 

I would suggest a better approach is to simply have the testsuite be
more of an independent package and just accept that it depends on ghc
and the other packages. This what we're doing in gentoo now, we have a
'pseudo' package "ghc-testsuite" that depends on ghc, mtl, quickcheck
etc. (It's 'pseudo' in the sense that it doesn't install anything except
the testsuite summary results).

The testsuite has a few assumptions that it's located inside a
configured ghc build tree. If this could be made simpler then this would
seem a sensible approach.

Duncan



More information about the Glasgow-haskell-users mailing list