aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPjotr Prins2017-07-09 12:25:44 +0000
committerPjotr Prins2017-07-09 12:25:44 +0000
commitd92fc5359540d7c860140f74f9f905d83b24f82d (patch)
treecc040bc8abab2800e1c57378749aa606bb16baa0 /Makefile
parentc978835c3630286414df6076d38aad16277cdb6b (diff)
downloadpangemma-d92fc5359540d7c860140f74f9f905d83b24f82d.tar.gz
Makefile: force unit tests to throw a make error on less than 100% success
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8b5b113..748c4f2 100644
--- a/Makefile
+++ b/Makefile
@@ -102,8 +102,7 @@ $(OBJS) : $(HDR)
.SUFFIXES : .cpp .c .o $(SUFFIXES)
check: all
- cd test && ./test_suite.sh
-
+ cd test && ./test_suite.sh | grep -q 'success rate: 100%'
clean:
rm -rf ${SRC_DIR}/*.o ${SRC_DIR}/*~ *~ $(OUTPUT)