diff options
Diffstat (limited to 'plugins/cover.mk')
-rw-r--r-- | plugins/cover.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/cover.mk b/plugins/cover.mk index b42311e..3397dca 100644 --- a/plugins/cover.mk +++ b/plugins/cover.mk @@ -29,15 +29,15 @@ ifdef CT_RUN # All modules in 'ebin' COVER_MODS = $(notdir $(basename $(shell echo ebin/*.beam))) -test-build:: ct.cover.spec +test-build:: $(TEST_DIR)/ct.cover.spec -ct.cover.spec: +$(TEST_DIR)/ct.cover.spec: @echo Cover mods: $(COVER_MODS) $(gen_verbose) printf "%s\n" \ '{incl_mods,[$(subst $(space),$(comma),$(COVER_MODS))]}.' \ '{export,"$(CURDIR)/ct.coverdata"}.' > $@ -CT_RUN += -cover ct.cover.spec +CT_RUN += -cover $(TEST_DIR)/ct.cover.spec endif endif |