summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-03-01 09:39:13 -0600
committerTristan Sloughter <t@crashfast.com>2015-03-01 09:39:13 -0600
commit0a8ee68042e209509e6357bebd2ee5936407802b (patch)
tree5af4321fec7fced6303aa0cd751d518761def06f
parent75f8a772b0c3ff1e6e951e92eda4aeb5064fe6d3 (diff)
fix compile/3 call in common_test provider
-rw-r--r--src/rebar_prv_common_test.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl
index f1c1159..c3f9163 100644
--- a/src/rebar_prv_common_test.erl
+++ b/src/rebar_prv_common_test.erl
@@ -343,7 +343,7 @@ maybe_compile_extra_tests(TestApps, State, InDirs, OutDir) ->
[{src_dirs, ["test"|InDirs]}] ++
lists:keydelete(src_dirs, 1, ErlOpts),
TestState = first_files(rebar_state:set(State, erl_opts, TestOpts)),
- rebar_erlc_compiler:compile(TestState, rebar_dir:get_cwd());
+ rebar_erlc_compiler:compile(TestState, rebar_dir:get_cwd(), rebar_dir:get_cwd());
%% already compiled `./test` so do nothing
_ -> ok
end.