summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJay Doane <jaydoane@apache.org>2021-11-01 14:04:22 -0700
committerJay Doane <jay.s.doane@gmail.com>2022-01-20 12:24:06 -0800
commit63a9d458aec57ba11fdc0bf14d1f01e17151b12c (patch)
tree167e1016fab54d2b026f4765b039fe2650455984 /Makefile
parent3abcc42cd88d7c127e6362c3a29c946dfa08ed33 (diff)
downloadcouchdb-63a9d458aec57ba11fdc0bf14d1f01e17151b12c.tar.gz
Enable exunit in check target
Also `export COUCHDB_TEST_ADMIN_PARTY_OVERRIDE=1` so couch will start.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 08113fe37..eed3a8dfe 100644
--- a/Makefile
+++ b/Makefile
@@ -152,6 +152,7 @@ escriptize: couch
.PHONY: check
# target: check - Test everything
check: all python-black
+ @$(MAKE) exunit
@$(MAKE) eunit
@$(MAKE) mango-test
@$(MAKE) elixir-suite
@@ -183,6 +184,7 @@ exunit: export MIX_ENV=test
exunit: export ERL_LIBS = $(shell pwd)/src
exunit: export ERL_AFLAGS = -config $(shell pwd)/rel/files/eunit.config
exunit: export COUCHDB_QUERY_SERVER_JAVASCRIPT = $(shell pwd)/bin/couchjs $(shell pwd)/share/server/main.js
+exunit: export COUCHDB_TEST_ADMIN_PARTY_OVERRIDE=1
exunit: couch elixir-init setup-eunit elixir-check-formatted elixir-credo
@mix test --trace $(EXUNIT_OPTS)