summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Doane <jaydoane@apache.org>2021-11-01 14:04:22 -0700
committerJay Doane <jaydoane@apache.org>2022-01-18 10:29:56 -0800
commit1a722118b2f8d840bd823c1092e5c3d2e60f9411 (patch)
treeccf653d0d70547dcc2b3f45b3bd120cde79298e4
parentb7a3a4fad21e7def12784ea5cacd402a18048696 (diff)
downloadcouchdb-enable-exunit-in-check.tar.gz
Enable exunit in check targetenable-exunit-in-check
Also `export COUCHDB_TEST_ADMIN_PARTY_OVERRIDE=1` so couch will start.
-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)