aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-03-12 17:26:46 +0100
committerLoïc Hoguin <[email protected]>2015-03-12 17:26:46 +0100
commit49e767b0ce9fc8c6cc1fbab6f40e042f0a21a550 (patch)
tree90e6917a601a11d6f5af96fbbc225882e2c551be
parent78082236443339304db96d177228bc31fe15d3c5 (diff)
downloaderlang.mk-49e767b0ce9fc8c6cc1fbab6f40e042f0a21a550.tar.gz
erlang.mk-49e767b0ce9fc8c6cc1fbab6f40e042f0a21a550.tar.bz2
erlang.mk-49e767b0ce9fc8c6cc1fbab6f40e042f0a21a550.zip
Make eunit non-verbose by default
There is no value in a verbose mode for eunit by default because eunit will print errors of failing tests regardless of what mode is used. Verbose mode only seem to output what modules are tested and what tests pass in those modules, in addition to errors. Disabling verbose will make errors much easier to notice.
-rw-r--r--README.md7
-rw-r--r--erlang.mk2
-rw-r--r--plugins/eunit.mk2
3 files changed, 5 insertions, 6 deletions
diff --git a/README.md b/README.md
index c182429..9c954ac 100644
--- a/README.md
+++ b/README.md
@@ -473,10 +473,9 @@ the test directory specified in `TEST_DIR`.
`EUNIT_OPTS` can be used to specify EUnit-specific options
(e.g. `verbose`) that will be used when calling
-`eunit:test/2`. This configuration parameter defaults to
-`verbose`. Note
-that EUnit options are specified as a comma-separated
-list of options.
+`eunit:test/2`. This configuration parameter is empty
+by default.. Note that EUnit options are specified as
+a comma-separated list of options.
Relx plugin
-----------
diff --git a/erlang.mk b/erlang.mk
index 93cf174..e6833bc 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -1137,7 +1137,7 @@ TAGGED_EUNIT_TESTS = {dir,"ebin"} $(foreach mod,$(EUNIT_MODS),$(shell echo $(mod
endif
endif
-EUNIT_OPTS ?= verbose
+EUNIT_OPTS ?=
# Utility functions
diff --git a/plugins/eunit.mk b/plugins/eunit.mk
index 3f198cb..ec3228e 100644
--- a/plugins/eunit.mk
+++ b/plugins/eunit.mk
@@ -23,7 +23,7 @@ TAGGED_EUNIT_TESTS = {dir,"ebin"} $(foreach mod,$(EUNIT_MODS),$(shell echo $(mod
endif
endif
-EUNIT_OPTS ?= verbose
+EUNIT_OPTS ?=
# Utility functions