Browse Source

Default to no eunit formatter if verbose specified

The previous default meant that verbose output would not be emitted.
pull/935/head
Julian Squires 9 years ago
parent
commit
6140ef6e67
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/rebar_prv_eunit.erl

+ 2
- 1
src/rebar_prv_eunit.erl View File

@ -346,7 +346,8 @@ resolve_eunit_opts(State) ->
true -> set_verbose(EUnitOpts);
false -> EUnitOpts
end,
case proplists:get_value(eunit_formatters, EUnitOpts1, true) of
IsVerbose = lists:member(verbose, EUnitOpts1),
case proplists:get_value(eunit_formatters, EUnitOpts1, not IsVerbose) of
true -> custom_eunit_formatters(EUnitOpts1);
false -> EUnitOpts1
end.

Loading…
Cancel
Save