diff options
author | Adam Kocoloski <kocolosk@apache.org> | 2021-11-12 15:19:16 -0500 |
---|---|---|
committer | Adam Kocoloski <kocolosk@apache.org> | 2021-11-15 12:58:33 -0500 |
commit | a5c35bd262286a2cb2cf81ce69effc8f6b82063e (patch) | |
tree | 332294aa4c0c109ff224506ffee8f1030ffe3a04 | |
parent | 6c3f3ff166ea8ff1fdf9043e90b73f3cfeea2acf (diff) | |
download | couchdb-a5c35bd262286a2cb2cf81ce69effc8f6b82063e.tar.gz |
Clean up mango-test
* Eliminate remaining use of TEST_OPTS
* Standardize dev/run invocation, matching elixir-integration
-rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -91,8 +91,6 @@ DIALYZE_OPTS=$(shell echo "\ " | sed -e 's/[a-z]\{1,\}= / /g') EXUNIT_OPTS=$(subst $(comma),$(space),$(tests)) -TEST_OPTS="-c 'startup_jitter=0' -c 'default_security=admin_local'" - ################################################################################ # Main commands ################################################################################ @@ -294,12 +292,13 @@ build-test: .PHONY: mango-test # target: mango-test - Run Mango tests -mango-test: export COUCHDB_TEST_ADMIN_PARTY_OVERRIDE=1 mango-test: devclean all @cd src/mango && \ python3 -m venv .venv && \ .venv/bin/python3 -m pip install -r requirements.txt - @cd src/mango && ../../dev/run "$(TEST_OPTS)" -n 1 --admin=adm:pass --erlang-config=rel/files/eunit.config '.venv/bin/python3 -m nose -v --with-xunit' + @dev/run -n 1 -q -a adm:pass \ + --erlang-config rel/files/eunit.config \ + --no-eval 'src/mango/.venv/bin/python3 -m nose -v --where src/mango --with-xunit' ################################################################################ # Developing |