diff options
author | Loïc Hoguin <[email protected]> | 2015-03-12 17:26:46 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-03-12 17:26:46 +0100 |
commit | 49e767b0ce9fc8c6cc1fbab6f40e042f0a21a550 (patch) | |
tree | 90e6917a601a11d6f5af96fbbc225882e2c551be | |
parent | 78082236443339304db96d177228bc31fe15d3c5 (diff) | |
download | erlang.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.md | 7 | ||||
-rw-r--r-- | erlang.mk | 2 | ||||
-rw-r--r-- | plugins/eunit.mk | 2 |
3 files changed, 5 insertions, 6 deletions
@@ -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 ----------- @@ -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 |