From 3e946a7d5c5a1deef4da10c526e95be065e54be1 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Thu, 1 Sep 2011 20:15:36 +0200 Subject: Fix cover_init call to use correct module list --- src/rebar_eunit.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rebar_eunit.erl b/src/rebar_eunit.erl index 2ea860c..efc12a0 100644 --- a/src/rebar_eunit.erl +++ b/src/rebar_eunit.erl @@ -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), -- cgit v1.1