embed test suite into git annex; available by running: git annex test
I have seen some other programs do this, and think it's pretty cool. Means you can test wherever it's deployed, as well as at build time. My other reason for doing it is less happy. Cabal's handling of test suites sucks, requiring duplicated info, and even when that's done, it fails to preprocess hsc files here. Building it in avoids that and avoids having to explicitly tell cabal to enable test suites, which would then make it link the test executable every time, which is unnecessarily slow. This also has the benefit that now "make fast test" does a max speed build and tests it.
This commit is contained in:
parent
092f6aa48d
commit
d1dbf266f6
7 changed files with 55 additions and 38 deletions
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,4 +1,4 @@
|
|||
git-annex (4.20130217) UNRELEASED; urgency=low
|
||||
git-annex (4.20130227) unstable; urgency=low
|
||||
|
||||
* annex.version is now set to 4 for direct mode repositories.
|
||||
* Should now fully support git repositories with core.symlinks=false;
|
||||
|
@ -24,8 +24,10 @@ git-annex (4.20130217) UNRELEASED; urgency=low
|
|||
log was out of date.
|
||||
* Makefile now builds using cabal, taking advantage of cabal's automatic
|
||||
detection of appropriate build flags.
|
||||
* test: The test suite is now built into the git-annex binary, and can
|
||||
be run at any time.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Sun, 17 Feb 2013 16:42:16 -0400
|
||||
-- Joey Hess <joeyh@debian.org> Wed, 27 Feb 2013 14:07:24 -0400
|
||||
|
||||
git-annex (3.20130216) unstable; urgency=low
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue