Explorar el Código

Default to no eunit formatter if verbose specified

The previous default meant that verbose output would not be emitted.
pull/935/head
Julian Squires hace 9 años
padre
commit
6140ef6e67
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      src/rebar_prv_eunit.erl

+ 2
- 1
src/rebar_prv_eunit.erl Ver fichero

@ -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.

Cargando…
Cancelar
Guardar