summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander Sedov <asedov@platbox.com>2016-10-11 10:31:57 +0300
committerAlexander Sedov <asedov@platbox.com>2016-10-11 10:39:16 +0300
commit3966610e532f18f71c6e4d04c3a96d6372ddc390 (patch)
treebe52d9bf82b41a9c968ad6069840b35381be1349 /src
parentcc7141ba419e4f80b0e5da3d24b726679b473552 (diff)
Made Common Test load the user's applications before slurping config.
Diffstat (limited to 'src')
-rw-r--r--src/rebar_prv_common_test.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl
index 1e0632e..8bfa192 100644
--- a/src/rebar_prv_common_test.erl
+++ b/src/rebar_prv_common_test.erl
@@ -221,6 +221,7 @@ select_tests(State, ProjectApps, CmdOpts, CfgOpts) ->
Configs = lists:flatmap(fun(Filename) ->
rebar_file_utils:consult_config(State, Filename)
end, SysConfigs),
+ code:add_pathsa(rebar_state:code_paths(State, all_deps)),
[application:load(Application) || Config <- Configs, {Application, _} <- Config],
rebar_utils:reread_config(Configs),