diff --git a/Makefile b/Makefile index 9bcae907d..686aaa099 100644 --- a/Makefile +++ b/Makefile @@ -73,7 +73,7 @@ ct: $(REBAR) conf-segs .PHONY: static_checks static_checks: - @$(REBAR) as check do xref, dialyzer, ct --suite apps/emqx/test/emqx_static_checks --readable $(CT_READABLE) + @$(REBAR) as check do dialyzer, xref, ct --suite apps/emqx/test/emqx_static_checks --readable $(CT_READABLE) APPS=$(shell $(CURDIR)/scripts/find-apps.sh) diff --git a/apps/emqx/test/emqx_bpapi_static_checks.erl b/apps/emqx/test/emqx_bpapi_static_checks.erl index d906ea29a..08ecf4632 100644 --- a/apps/emqx/test/emqx_bpapi_static_checks.erl +++ b/apps/emqx/test/emqx_bpapi_static_checks.erl @@ -218,7 +218,7 @@ dump() -> case { filelib:wildcard(project_root_dir() ++ "/*_plt"), - filelib:wildcard(project_root_dir() ++ "/_build/emqx*/lib") + filelib:wildcard(project_root_dir() ++ "/_build/check/lib") } of {[PLT | _], [RelDir | _]} ->