summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-04-25 12:43:22 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-04-25 12:43:22 -0400
commit8512a4a1a1f5367249cdb12aab75ed5d1bb42c8a (patch)
tree9165e9cc360016ee4d7ea4f119c91402acd7baf3 /Makefile
parentb72de39ba469fb7f39be0728a10fe949619c7be0 (diff)
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a8eccc5bf..69fb51807 100644
--- a/Makefile
+++ b/Makefile
@@ -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