summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Shorin <kxepal@apache.org>2015-10-01 19:37:28 +0300
committerAlexander Shorin <kxepal@apache.org>2015-10-01 19:37:28 +0300
commit57171e781c5cd0579ee81040ee47199affb79e84 (patch)
tree5aab1dc51050800b357c16fe3c3ec5db45ad2c6d
parent11b4fcd98bbebfea0eef4f5c18ecd2163bae2941 (diff)
parentabed24e1c2006118addd43b9cdda57af5e1cf2e7 (diff)
downloadcouchdb-57171e781c5cd0579ee81040ee47199affb79e84.tar.gz
Merge branch 'reduce-log-noise-for-eunit'
-rw-r--r--Makefile1
-rw-r--r--rel/files/eunit.config16
2 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a56ff3297..e3162b639 100644
--- a/Makefile
+++ b/Makefile
@@ -155,6 +155,7 @@ docker-stop:
@docker stop `cat .docker-id`
eunit: export BUILDDIR = $(shell pwd)
+eunit: export ERL_AFLAGS = -config $(shell pwd)/rel/files/eunit
eunit: couch
@${REBAR} setup_eunit
@${REBAR} -r eunit skip_deps=meck,mochiweb,lager,snappy,folsom
diff --git a/rel/files/eunit.config b/rel/files/eunit.config
new file mode 100644
index 000000000..c785643ae
--- /dev/null
+++ b/rel/files/eunit.config
@@ -0,0 +1,16 @@
+% Licensed under the Apache License, Version 2.0 (the "License"); you may not
+% use this file except in compliance with the License. You may obtain a copy of
+% the License at
+%
+% http://www.apache.org/licenses/LICENSE-2.0
+%
+% Unless required by applicable law or agreed to in writing, software
+% distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+% WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+% License for the specific language governing permissions and limitations under
+% the License.
+
+[
+ {kernel, [{error_logger, silent}]},
+ {sasl, [{sasl_error_logger, false}]}
+]. \ No newline at end of file