diff options
-rw-r--r-- | src/rebar_eunit.erl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/rebar_eunit.erl b/src/rebar_eunit.erl index aee487c..d4ebe0c 100644 --- a/src/rebar_eunit.erl +++ b/src/rebar_eunit.erl @@ -191,11 +191,12 @@ eunit_config(Config) -> 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() -> - 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, false) -> []. |