test: force segment er-merge before any ct

This commit is contained in:
Zaiming (Stone) Shi 2021-12-05 21:15:26 +01:00
parent e774e976a7
commit 34d3a73ff3
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ APPS=$(shell $(CURDIR)/scripts/find-apps.sh)
## app/name-ct targets are intended for local tests hence cover is not enabled
.PHONY: $(APPS:%=%-ct)
define gen-app-ct-target
$1-ct:
$1-ct: conf-segs
$(REBAR) ct --name $(CT_NODE_NAME) -v --suite $(shell $(CURDIR)/scripts/find-suites.sh $1)
endef
$(foreach app,$(APPS),$(eval $(call gen-app-ct-target,$(app))))