summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2011-09-01 20:15:36 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-09-01 20:17:43 +0200
commit3e946a7d5c5a1deef4da10c526e95be065e54be1 (patch)
treefedbda51193df74680b041f00a09f4da0c007a88 /src
parentb6f575c7fe8ac477ffd6a78baf7481adcfa9280f (diff)
Fix cover_init call to use correct module list
Diffstat (limited to 'src')
-rw-r--r--src/rebar_eunit.erl2
1 files changed, 1 insertions, 1 deletions
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),