Fix cover_init call to use correct module list

This commit is contained in:
Tuncer Ayaz 2011-09-01 20:15:36 +02:00
parent b6f575c7fe
commit 3e946a7d5c

View file

@ -144,7 +144,7 @@ eunit(Config, AppFile) ->
Modules = [rebar_utils:beam_to_mod(?EUNIT_DIR, N) || N <- ModuleBeamFiles],
SrcModules = [rebar_utils:erl_to_mod(M) || M <- SrcErls],
{ok, CoverLog} = cover_init(Config, BeamFiles),
{ok, CoverLog} = cover_init(Config, ModuleBeamFiles),
StatusBefore = status_before_eunit(),
EunitResult = perform_eunit(Config, Modules),