diff options
author | Jay Doane <jaydoane@apache.org> | 2021-11-01 14:04:22 -0700 |
---|---|---|
committer | Jay Doane <jaydoane@apache.org> | 2022-01-18 10:29:56 -0800 |
commit | 1a722118b2f8d840bd823c1092e5c3d2e60f9411 (patch) | |
tree | ccf653d0d70547dcc2b3f45b3bd120cde79298e4 | |
parent | b7a3a4fad21e7def12784ea5cacd402a18048696 (diff) | |
download | couchdb-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-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |