summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index cda8fed6b..6805f93d2 100644
--- a/Makefile
+++ b/Makefile
@@ -66,12 +66,11 @@ install: all
test:
@if ! $(GHCMAKE) -O0 test; then \
- echo "** not running test suite" >&2; \
- else \
- if ! ./test; then \
- echo "** test suite failed!" >&2; \
- exit 1; \
- fi; \
+ echo "** failed to build the test suite" >&2; \
+ exit 1; \
+ elif ! ./test; then \
+ echo "** test suite failed!" >&2; \
+ exit 1; \
fi
testcoverage: