You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2022/03/27 00:23:16 UTC
[couchdb] branch smoosh-eunit-coverage created (now 983b2e6)
This is an automated email from the ASF dual-hosted git repository.
jaydoane pushed a change to branch smoosh-eunit-coverage
in repository https://gitbox.apache.org/repos/asf/couchdb.git.
at 983b2e6 Give smoosh eunit test coverage
This branch includes the following new commits:
new e6b9c84 Eliminate unused variable warnings
new dbc5fd1 Simplify adding rebar.config per application
new 983b2e6 Give smoosh eunit test coverage
The 3 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.
[couchdb] 03/03: Give smoosh eunit test coverage
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jaydoane pushed a commit to branch smoosh-eunit-coverage
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 983b2e637faa3f2c01d4b0b4e2be709d7214b672
Author: Jay Doane <ja...@apache.org>
AuthorDate: Sat Mar 26 15:44:49 2022 -0700
Give smoosh eunit test coverage
---
src/smoosh/rebar.config | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/smoosh/rebar.config b/src/smoosh/rebar.config
new file mode 100644
index 0000000..e0d1844
--- /dev/null
+++ b/src/smoosh/rebar.config
@@ -0,0 +1,2 @@
+{cover_enabled, true}.
+{cover_print_enabled, true}.
[couchdb] 02/03: Simplify adding rebar.config per application
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jaydoane pushed a commit to branch smoosh-eunit-coverage
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit dbc5fd136ebdb72454f0f9dbe81806d65f700772
Author: Jay Doane <ja...@apache.org>
AuthorDate: Sat Mar 26 15:44:21 2022 -0700
Simplify adding rebar.config per application
It's difficult to add rebar.config files per application when that
file name is ignored by git.
Also, ken and smoosh are now core CouchDB applications, so it's no
longer necessary to git ignore them.
---
.gitignore | 3 ---
1 file changed, 3 deletions(-)
diff --git a/.gitignore b/.gitignore
index fe3e5ac..40787c8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -32,7 +32,6 @@ ebin/
erl_crash.dump
erln8.config
install.mk
-rebar.config
rel/*.config
rel/couchdb
rel/dev*
@@ -63,7 +62,6 @@ src/ibrowse/
src/idna/
src/ioq/
src/jiffy/
-src/ken/
src/khash/
src/meck/
src/metrics/
@@ -74,7 +72,6 @@ src/parse_trans/
src/proper/
src/rebar/
src/recon/
-src/smoosh/
src/snappy/
src/ssl_verify_fun/
src/triq/
[couchdb] 01/03: Eliminate unused variable warnings
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jaydoane pushed a commit to branch smoosh-eunit-coverage
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit e6b9c84a4a9b39199fd1a82a0bb66286a47f80d4
Author: Jay Doane <ja...@apache.org>
AuthorDate: Sat Mar 26 15:36:25 2022 -0700
Eliminate unused variable warnings
src/couch/src/test_util.erl:276:16: Warning: variable 'Timeout' is unused
src/test_util.erl:276:25: Warning: variable 'Delay' is unused
src/couchdb/src/couch/src/test_util.erl:276:32: Warning: variable 'Started' is unused
---
src/couch/src/test_util.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/couch/src/test_util.erl b/src/couch/src/test_util.erl
index 06dfcc6..9f6d758 100644
--- a/src/couch/src/test_util.erl
+++ b/src/couch/src/test_util.erl
@@ -273,7 +273,7 @@ wait_start(Processses, TimeoutInSec, Delay) ->
wait_start(_, Timeout, _Delay, Started, Prev, _) when Prev - Started > Timeout ->
timeout;
-wait_start([], Timeout, Delay, Started, _Prev, Res) ->
+wait_start([], _Timeout, _Delay, _Started, _Prev, Res) ->
Res;
wait_start([{Name, Pid} | Rest] = Processes, Timeout, Delay, Started, _Prev, Res) ->
case whereis(Name) of