chore(ct): Upgrade rebar3 to avoid full copy of apps dir in ct

Rebar3 version 3.14.3-emqx-4 fixed an issue where apps dir
is full-copy to _buid/test/lib/emqx/apps when running
ct with --dir apps/xxx or --suite apps/xxx/test/yyy_SUITE

This behaviour is confusing because there could be multpile
beam files for the same module in the same profile.
e.g.
_build/test/lib/xxx/test/yyy_SUITE
_build/test/lib/emqx/apps/xxx/test/yyy_SUITE
This commit is contained in:
Zaiming Shi 2020-12-19 18:07:16 +01:00
parent a364758e2a
commit 3934c96026
1 changed files with 5 additions and 2 deletions

View File

@ -90,10 +90,13 @@ examples
```bash ```bash
./rebar3 ct --dir test,apps/emqx_sn,apps/emqx_coap ./rebar3 ct --dir test,apps/emqx_sn,apps/emqx_coap
./rebar3 ct --suite test/emqx_SUITE.erl,apps/emqx_auth_http/test/emqx_auth_http_SUITE.erl ./rebar3 ct --dir apps/emqx_auth_mnesi --suite emqx_acl_mnesia_SUITE
./rebar3 ct --suite test/emqx_SUITE.erl --testcase t_restart ./rebar3 ct --dir apps/emqx_auth_mnesi --suite emqx_acl_mnesia_SUITE --case t_rest_api
``` ```
NOTE: Do *NOT* use full (relative) path to SUITE files like this `--suite apps/emqx_auth_mnesia/test/emqx_acl_mnesia_SUITE.erl`,
because it will lead to a full copy of `apps` dir into `_buid/test/lib/emqx`.
## FAQ ## FAQ
Visiting [EMQ X FAQ](https://docs.emqx.io/broker/latest/en/faq/faq.html) to get help of common problems. Visiting [EMQ X FAQ](https://docs.emqx.io/broker/latest/en/faq/faq.html) to get help of common problems.