浏览代码

Made Common Test load the user's applications before slurping config.

pull/1348/head
Alexander Sedov 8 年前
父节点
当前提交
3966610e53
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      src/rebar_prv_common_test.erl

+ 1
- 0
src/rebar_prv_common_test.erl 查看文件

@ -221,6 +221,7 @@ select_tests(State, ProjectApps, CmdOpts, CfgOpts) ->
Configs = lists:flatmap(fun(Filename) -> Configs = lists:flatmap(fun(Filename) ->
rebar_file_utils:consult_config(State, Filename) rebar_file_utils:consult_config(State, Filename)
end, SysConfigs), end, SysConfigs),
code:add_pathsa(rebar_state:code_paths(State, all_deps)),
[application:load(Application) || Config <- Configs, {Application, _} <- Config], [application:load(Application) || Config <- Configs, {Application, _} <- Config],
rebar_utils:reread_config(Configs), rebar_utils:reread_config(Configs),

正在加载...
取消
保存