summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Branca <chewbranca@gmail.com>2019-02-27 14:16:37 -0800
committerGitHub <noreply@github.com>2019-02-27 14:16:37 -0800
commitc39852e18606a2234b4c6a57ce94bc87810c4870 (patch)
tree4a0f3d42f1db9dc645af5c97a752e3be06aa5a44
parent931d77dced60d0f7572d5e8cf1bc82707aa20bfe (diff)
parent6b48a46b456a15ebf80de2929c39ef64247dcee8 (diff)
downloadcouchdb-c39852e18606a2234b4c6a57ce94bc87810c4870.tar.gz
Merge pull request #1951 from apache/fail-make-on-eunit-failure
Fail make eunit upon eunit app suite failure
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 62d2f3443..54068dfe3 100644
--- a/Makefile
+++ b/Makefile
@@ -166,7 +166,7 @@ eunit: export COUCHDB_QUERY_SERVER_JAVASCRIPT = $(shell pwd)/bin/couchjs $(shell
eunit: couch
@$(REBAR) setup_eunit 2> /dev/null
@for dir in $(subdirs); do \
- $(REBAR) -r eunit $(EUNIT_OPTS) apps=$$dir; \
+ $(REBAR) -r eunit $(EUNIT_OPTS) apps=$$dir || exit 1; \
done
setup-eunit: export BUILDDIR = $(shell pwd)