Seems a few things are missing in the last darcs-2.4 release, related to
tests.
First issue:
Darcs/Test/Email.hs seems to be missing. It's used by src/unit.lhs, and
exists in the darcs repo of darcs, but not in the darcs-2.4 release.
$ cabal configure --flags=test
...
$ cabal build
...
src/unit.lhs:57:7:
Could not find module `Darcs.Test.Email':
Use -v to see a list of the files searched for.
Second issue:
README refers to tests/README.test_maintainers.txt about testing, which
does not exist in the darcs-2.4 release (but exists in development repo).
Third issue:
tests/README.test_maintainers.txt says I should run "make unit", "make
tests", etc, but none of them work any more.
I'd like a way to run all tests, and to let the Gentoo ebuild (bash
script) to determine if the tests have succeeded or failed.
Does "unit" return an error code if a test has failed?
If we can get the tests running in Gentoo, we might be able to get tests
executed by Gentoo arch teams for these architectures: alpha amd64 hppa
ia64 ppc ppc64 sparc x86
Thanks!
|