From 49e767b0ce9fc8c6cc1fbab6f40e042f0a21a550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 12 Mar 2015 17:26:46 +0100 Subject: 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. --- README.md | 7 +++---- erlang.mk | 2 +- plugins/eunit.mk | 2 +- 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 -- cgit v1.2.3