我rebar
用来编译我的应用程序。实际上,它是两个应用程序:
deps/
apps/A/
apps/B/
apps/B/suites
...B
取决于A
. 这在apps/B/src/B.app.src
. 但是,当我尝试运行时rebar ct
,它无法测试B
,报告它找不到A.app
。
在详细模式下运行rebar ct
表明它正在将代码搜索路径 ( -pa
) 设置为 include apps/B/ebin
, and deps/foo/ebin
,deps/bar/ebin
等。
它不包括apps/A/ebin
.
如何使用 Common Test 测试由多个应用程序组成的 Erlang “应用程序”?