Remove testpack from build depends, as it is not available on all architectures.

The test suite will not be run if it cannot be compiled.

It may be possible later to split off the quickcheck using tests into
a separate program and keep most of the tests using just hunit.
This commit is contained in:
Joey Hess 2011-04-25 12:43:22 -04:00
parent b72de39ba4
commit 8512a4a1a1
3 changed files with 8 additions and 3 deletions

View file

@ -45,8 +45,11 @@ install: all
fi
test: $(bins)
$(GHCMAKE) test
./test
if ! $(GHCMAKE) test; then \
echo "** not running test suite" >&2; \
else \
./test; \
fi
testcoverage: $(bins)
rm -f test.tix test

3
debian/changelog vendored
View file

@ -1,6 +1,9 @@
git-annex (0.20110421) UNRELEASED; urgency=low
* Use haskell Crypto library instead of haskell SHA library.
* Remove testpack from build depends, as it is not available
on all architectures. The test suite will not be run if it
cannot be compiled.
-- Joey Hess <joeyh@debian.org> Thu, 21 Apr 2011 16:35:27 -0400

1
debian/control vendored
View file

@ -6,7 +6,6 @@ Build-Depends:
ghc,
libghc-missingh-dev,
libghc-pcre-light-dev,
libghc-testpack-dev,
libghc-dataenc-dev,
libghc-crypto-dev,
libghc-utf8-string-dev,