summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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