diff options
author | ILYA Khlopotov <iilyak@apache.org> | 2020-05-07 01:51:57 -0700 |
---|---|---|
committer | ILYA Khlopotov <iilyak@apache.org> | 2020-05-07 01:51:57 -0700 |
commit | 577be6561f1791f05e2b29f2fd1f58858ef1d967 (patch) | |
tree | 3a6993b1c6dbea9391f2e09006fb8717101fed27 | |
parent | 7e7a3f6651ea33643ea506d6786fe30f17ef4617 (diff) | |
download | couchdb-577be6561f1791f05e2b29f2fd1f58858ef1d967.tar.gz |
Re-enable ExUnit tests
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | Makefile.win | 1 |
2 files changed, 3 insertions, 1 deletions
@@ -165,7 +165,7 @@ check: all @$(MAKE) emilio make eunit apps=couch_eval,couch_expiring_cache,ctrace,couch_jobs,couch_views,fabric,mango,chttpd make elixir tests=test/elixir/test/basics_test.exs,test/elixir/test/replication_test.exs,test/elixir/test/map_test.exs,test/elixir/test/all_docs_test.exs,test/elixir/test/bulk_docs_test.exs - make exunit tests=src/couch_rate/test/exunit/ + make exunit apps=couch_rate,chttpd make mango-test .PHONY: eunit @@ -188,6 +188,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 --cover --trace $(EXUNIT_OPTS) diff --git a/Makefile.win b/Makefile.win index 885b7741c..265cdf339 100644 --- a/Makefile.win +++ b/Makefile.win @@ -163,6 +163,7 @@ exunit: export MIX_ENV=test exunit: export ERL_LIBS = $(shell echo %cd%)\src exunit: export ERL_AFLAGS = -config $(shell echo %cd%)/rel/files/eunit.config exunit: export COUCHDB_QUERY_SERVER_JAVASCRIPT = $(shell echo %cd%)/bin/couchjs $(shell echo %cd%)/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 --cover --trace $(EXUNIT_OPTS) |