Merge pull request #5936 from zmstone/remove-ct-helpers-from-emqx-rebar-config

test: remove ct_helpers from apps/emqx rebar.config
This commit is contained in:
Zaiming (Stone) Shi 2021-10-16 06:37:04 +02:00 committed by GitHub
commit e7b7de116c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View File

@ -23,14 +23,14 @@
, {snabbkaffe, {git, "https://github.com/kafka4beam/snabbkaffe.git", {tag, "0.14.1"}}} , {snabbkaffe, {git, "https://github.com/kafka4beam/snabbkaffe.git", {tag, "0.14.1"}}}
]}. ]}.
{plugins, [rebar3_proper]}. {plugins, [{rebar3_proper, "0.12.1"}]}.
{extra_src_dirs, [{"etc", [recursive]}]}. {extra_src_dirs, [{"etc", [recursive]}]}.
{profiles, [ {profiles, [
{test, {test,
[{deps, [{deps,
[ meck [ {meck, "0.9.2"}
, {proper, "1.4.0"}
, {bbmustache,"1.10.0"} , {bbmustache,"1.10.0"}
, {emqx_ct_helpers, {git,"https://github.com/emqx/emqx-ct-helpers.git", {tag,"2.1.0"}}}
, {emqtt, {git, "https://github.com/emqx/emqtt", {tag, "1.4.3"}}} , {emqtt, {git, "https://github.com/emqx/emqtt", {tag, "1.4.3"}}}
]}, ]},
{extra_src_dirs, [{"test",[recursive]}]} {extra_src_dirs, [{"test",[recursive]}]}

View File

@ -114,21 +114,21 @@ plugins(HasElixir) ->
%% emqx main project does not require port-compiler %% emqx main project does not require port-compiler
%% pin at root level for deterministic %% pin at root level for deterministic
, {pc, {git, "https://github.com/emqx/port_compiler.git", {tag, "v1.11.1"}}} , {pc, {git, "https://github.com/emqx/port_compiler.git", {tag, "v1.11.1"}}}
| [ rebar_mix || HasElixir ] | [ {rebar_mix, "0.5.1"} || HasElixir ]
] ]
%% test plugins are concatenated to default profile plugins %% test plugins are concatenated to default profile plugins
%% otherwise rebar3 test profile runs are super slow %% otherwise rebar3 test profile runs are super slow
++ test_plugins(). ++ test_plugins().
test_plugins() -> test_plugins() ->
[ rebar3_proper, [ {rebar3_proper, "0.12.1"}
{coveralls, {git, "https://github.com/emqx/coveralls-erl", {branch, "fix-git-info"}}} , {coveralls, {git, "https://github.com/emqx/coveralls-erl", {tag, "v2.2.0-emqx-1"}}}
]. ].
test_deps() -> test_deps() ->
[ {bbmustache, "1.10.0"} [ {bbmustache, "1.10.0"}
, meck , {meck, "0.9.2"}
, proper , {proper, "1.4.0"}
]. ].
common_compile_opts() -> common_compile_opts() ->