From 81be474c30080568d66ffc86317fe35cce19278c Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Mon, 7 Mar 2011 20:14:43 +0100 Subject: [PATCH] Fix regression (thanks Anthony Molinaro) --- src/rebar_eunit.erl | 9 +++++---- 1 file 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) -> [].