Add eunit_first_files option

This commit is contained in:
Joseph Wayne Norton 2010-12-16 16:14:08 +01:00 committed by Tuncer Ayaz
parent 3241165ced
commit e4cd50e2a3

View file

@ -189,7 +189,10 @@ eunit_config(Config) ->
EunitOpts = rebar_config:get_list(Config, eunit_compile_opts, []),
Opts = [{d, 'TEST'}, debug_info] ++
ErlOpts ++ EunitOpts ++ EqcOpts,
rebar_config:set(Config, erl_opts, Opts).
Config1 = rebar_config:set(Config, erl_opts, Opts),
FirstErls = rebar_config:get_list(Config1, eunit_first_files, []),
rebar_config:set(Config1, erl_first_files, FirstErls).
is_quickcheck_avail() ->
case erlang:get(is_quickcheck_avail) of