aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/ct.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2022-11-10 12:36:40 +0100
committerLoïc Hoguin <[email protected]>2022-11-10 12:36:40 +0100
commit6423c1c0570336c85540d8db1126831d319251bd (patch)
tree670fdc709125552ebc726aceda717a831b03b8b4 /plugins/ct.mk
parent94718f7715a05087d966a0ca4b32527892ac6cfc (diff)
downloaderlang.mk-6423c1c0570336c85540d8db1126831d319251bd.tar.gz
erlang.mk-6423c1c0570336c85540d8db1126831d319251bd.tar.bz2
erlang.mk-6423c1c0570336c85540d8db1126831d319251bd.zip
Fix code coverage for ct-* targets
Thanks to David Ansari for the report.
Diffstat (limited to 'plugins/ct.mk')
-rw-r--r--plugins/ct.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ct.mk b/plugins/ct.mk
index ba65b2c..820af16 100644
--- a/plugins/ct.mk
+++ b/plugins/ct.mk
@@ -78,9 +78,9 @@ endif
endif
define ct_suite_target
-ct-$(1): test-build
- $(verbose) mkdir -p $(CT_LOGS_DIR)
- $(gen_verbose_esc) $(CT_RUN) -sname ct_$(PROJECT) -suite $(addsuffix _SUITE,$(1)) $(CT_EXTRA) $(CT_OPTS)
+ct-$1: test-build
+ $$(verbose) mkdir -p $$(CT_LOGS_DIR)
+ $$(gen_verbose_esc) $$(CT_RUN) -sname ct_$$(PROJECT) -suite $$(addsuffix _SUITE,$1) $$(CT_EXTRA) $$(CT_OPTS)
endef
$(foreach test,$(CT_SUITES),$(eval $(call ct_suite_target,$(test))))