diff options
-rw-r--r-- | src/rebar_eunit.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rebar_eunit.erl b/src/rebar_eunit.erl index 289ae3d..80c13f6 100644 --- a/src/rebar_eunit.erl +++ b/src/rebar_eunit.erl @@ -397,9 +397,7 @@ cover_file(Module) -> filename:join([?TEST_DIR, atom_to_list(Module) ++ ".COVER.html"]). cover_export_coverdata() -> - ExportFile = filename:join([rebar_utils:get_cwd(), - ?TEST_DIR, - "eunit.coverdata"]), + ExportFile = filename:join(rebar_utils:test_dir(), "eunit.coverdata"), case cover:export(ExportFile) of ok -> ?CONSOLE("Coverdata export: ~s~n", [ExportFile]); |