Fix regression (thanks Anthony Molinaro)

This commit is contained in:
Tuncer Ayaz 2011-03-07 20:14:43 +01:00
parent 25c0226ab9
commit 81be474c30

View file

@ -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) -> [].