Test Suite's Dependency on Quickcheck
brianlsmith at gmail.com
Wed Sep 13 02:17:10 EDT 2006
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?
Besides the dependencies on these non-core packages, there are 7 tests
(maybe a couple more) that only work on Cygwin or Unix, but fail on
MSYS/MinGW. Would you accept patches to these tests to make them run without
Cygwin on Windows?
The tests that would need to be patched are:
* cabal01 and cabal02
Cabal is trying to execute
which is a shell script. Cabal expects it to be an
* process001, process002, and process003
These tests have "c:/cygwin/bin/ls" hard-coded
into them, so they will fail on any system that
doesn't have Cygwin in that exact location.
* prog001, prog002, and prog003
These tests execute Unix commands like
"rm," and "ls" via :shell, so they fail on
Tests requiring package 'QuickCheck':
Tests requiring package 'mtl':
Tests requiring package 'network' (and, transitively, package 'html'):
On 9/12/06, Brian Smith < brianlsmith at gmail.com> wrote:
> If you build GHC with just the default settings, QuickCheck doesn't get
> pulled from Darcs and it is thus not built and installed into ghc-inplace.
> Because of this, many of the tests in the test suite fail:
> I think that the test suite should run without errors by default. What is
> the best way to deal with this situation? Probably the easiest thing to do
> would be to include QuickCheck as a "core package" as defined in the thread
> "Packages in GHC 6.6." Then QuickCheck would need to be copied into the
> ghc-6.6 branch. Thoughts?
> - Brian
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Glasgow-haskell-users