diff options
author | Loïc Hoguin <[email protected]> | 2019-06-22 18:05:32 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-06-22 18:05:32 +0200 |
commit | 52107a75ab3f9d16e98932ea852033f876822513 (patch) | |
tree | ab9117dab82889993ae2e9833fc275a56e45a5f0 | |
parent | 9ac041d9f6a4145959352945b51244a8439ef270 (diff) | |
download | erlang.mk-52107a75ab3f9d16e98932ea852033f876822513.tar.gz erlang.mk-52107a75ab3f9d16e98932ea852033f876822513.tar.bz2 erlang.mk-52107a75ab3f9d16e98932ea852033f876822513.zip |
Fix the ct.cover.spec file paths on Windows
-rw-r--r-- | plugins/cover.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/cover.mk b/plugins/cover.mk index a850335..3d18c00 100644 --- a/plugins/cover.mk +++ b/plugins/cover.mk @@ -20,10 +20,10 @@ test-build:: $(TEST_DIR)/ct.cover.spec $(TEST_DIR)/ct.cover.spec: cover-data-dir $(gen_verbose) printf "%s\n" \ "{incl_app, '$(PROJECT)', details}." \ - "{incl_dirs, '$(PROJECT)', [\"$(CURDIR)/ebin\" \ - $(foreach a,$(COVER_APPS),$(comma) \"$(APPS_DIR)/$a/ebin\") \ - $(foreach d,$(COVER_DEPS),$(comma) \"$(DEPS_DIR)/$d/ebin\")]}." \ - '{export,"$(abspath $(COVER_DATA_DIR))/ct.coverdata"}.' > $@ + "{incl_dirs, '$(PROJECT)', [\"$(call core_native_path,$(CURDIR)/ebin)\" \ + $(foreach a,$(COVER_APPS),$(comma) \"$(call core_native_path,$(APPS_DIR)/$a/ebin)\") \ + $(foreach d,$(COVER_DEPS),$(comma) \"$(call core_native_path,$(DEPS_DIR)/$d/ebin)\")]}." \ + '{export,"$(call core_native_path,$(abspath $(COVER_DATA_DIR))/ct.coverdata)"}.' > $@ CT_RUN += -cover $(TEST_DIR)/ct.cover.spec endif |