You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ju...@apache.org on 2020/04/01 21:52:25 UTC

[couchdb] branch master updated (f3a3312 -> 54a05e4)

This is an automated email from the ASF dual-hosted git repository.

juanjo pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


    from f3a3312  Improve test initialization
     new fb9d404  Update Makefile.win to Include locad configs and clean configs in devclean
     new 54a05e4  allow to run 'javascript' target with other test targets in the same 'make' process

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 Makefile     |  6 ++++--
 Makefile.win | 10 ++++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)


[couchdb] 02/02: allow to run 'javascript' target with other test targets in the same 'make' process

Posted by ju...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

juanjo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 54a05e43c3098f6d37b12ea8831a8cc11e062391
Author: Juanjo Rodriguez <ju...@apache.org>
AuthorDate: Tue Mar 24 08:51:33 2020 +0100

    allow to run 'javascript' target with other test targets in the same 'make' process
---
 Makefile     | 4 +++-
 Makefile.win | 3 ++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 60b6e3d..97fc97c 100644
--- a/Makefile
+++ b/Makefile
@@ -260,7 +260,9 @@ elixir-credo: elixir-init
 .PHONY: javascript
 # target: javascript - Run JavaScript test suites or specific ones defined by suites option
 javascript: export COUCHDB_TEST_ADMIN_PARTY_OVERRIDE=1
-javascript: devclean
+javascript: 
+
+	@$(MAKE) devclean
 	@mkdir -p share/www/script/test
 ifeq ($(IN_RELEASE), true)
 	@cp test/javascript/tests/lorem*.txt share/www/script/test/
diff --git a/Makefile.win b/Makefile.win
index 92c60bb..bdecc73 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -237,7 +237,8 @@ elixir-credo: elixir-init
 .PHONY: javascript
 # target: javascript - Run JavaScript test suites or specific ones defined by suites option
 javascript: export COUCHDB_TEST_ADMIN_PARTY_OVERRIDE=1
-javascript: devclean
+javascript:
+	@$(MAKE) devclean
 	-@mkdir share\www\script\test
 ifeq ($(IN_RELEASE), true)
 	@copy test\javascript\tests\lorem*.txt share\www\script\test


[couchdb] 01/02: Update Makefile.win to Include locad configs and clean configs in devclean

Posted by ju...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

juanjo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit fb9d40442854aa8bd5c4ed9c7448eaaad456bd87
Author: Juanjo Rodriguez <ju...@apache.org>
AuthorDate: Thu Mar 19 23:37:04 2020 +0100

    Update Makefile.win to Include locad configs and clean configs in devclean
---
 Makefile     | 2 +-
 Makefile.win | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 7d56dd1..60b6e3d 100644
--- a/Makefile
+++ b/Makefile
@@ -480,7 +480,7 @@ endif
 # target: devclean - Remove dev cluster artifacts
 devclean:
 	@rm -rf dev/lib/*/data
-
+	@rm -rf dev/lib/*/etc
 
 ################################################################################
 # Misc
diff --git a/Makefile.win b/Makefile.win
index 30ebe0e..92c60bb 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -200,7 +200,9 @@ python-black-update: .venv/bin/black
 elixir: export MIX_ENV=integration
 elixir: export COUCHDB_TEST_ADMIN_PARTY_OVERRIDE=1
 elixir: elixir-init elixir-check-formatted elixir-credo devclean
-	@dev\run $(TEST_OPTS) -a adm:pass -n 1 --enable-erlang-views --no-eval 'mix test --trace --exclude without_quorum_test --exclude with_quorum_test $(EXUNIT_OPTS)'
+	@dev\run $(TEST_OPTS) -a adm:pass -n 1 --enable-erlang-views \
+      --locald-config test/elixir/test/config/test-config.ini \
+      --no-eval 'mix test --trace --exclude without_quorum_test --exclude with_quorum_test $(EXUNIT_OPTS)'
 
 .PHONY: elixir-init
 elixir-init: MIX_ENV=test
@@ -405,6 +407,9 @@ devclean:
 	-@rmdir /s/q dev\lib\node1\data
 	-@rmdir /s/q dev\lib\node2\data
 	-@rmdir /s/q dev\lib\node3\data
+	-@rmdir /s/q dev\lib\node1\etc
+	-@rmdir /s/q dev\lib\node2\etc
+	-@rmdir /s/q dev\lib\node3\etc
 
 
 ################################################################################