summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2011-03-07 20:14:43 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-03-07 20:16:29 +0100
commit81be474c30080568d66ffc86317fe35cce19278c (patch)
treeb7d6f199389fae633d7631ebf6819ca15b182493
parent25c0226ab94560c5e182944c4c71b9f71ac3f08e (diff)
Fix regression (thanks Anthony Molinaro)
-rw-r--r--src/rebar_eunit.erl9
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) -> [].