Browse Source

Fix regression (thanks Anthony Molinaro)

pull/3/head
Tuncer Ayaz 14 years ago
parent
commit
81be474c30
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      src/rebar_eunit.erl

+ 5
- 4
src/rebar_eunit.erl View File

@ -191,11 +191,12 @@ eunit_config(Config) ->
eqc_opts() -> eqc_opts() ->
define_if('PROPER', is_lib_avail(is_eqc_avail, eqc,
"eqc.hrl", "QuickCheck")).
define_if('EQC', is_lib_avail(is_eqc_avail, eqc,
"eqc.hrl", "QuickCheck")).
proper_opts() -> proper_opts() ->
define_if('EQC', is_lib_avail(is_proper_avail, proper,
"proper.hrl", "PropEr")).
define_if('PROPER', is_lib_avail(is_proper_avail, proper,
"proper.hrl", "PropEr")).
define_if(Def, true) -> [{d, Def}]; define_if(Def, true) -> [{d, Def}];
define_if(_Def, false) -> []. define_if(_Def, false) -> [].

Loading…
Cancel
Save