aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/ct.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-05-08 22:36:45 +0300
committerLoïc Hoguin <[email protected]>2015-05-08 22:36:45 +0300
commitae91cfe710341b74403c55962eaa063d60ef2a25 (patch)
tree665eb509a39477f0d3bd8c5890adff764507ac02 /plugins/ct.mk
parentf38e6e5833a251602468567b32a123f862569db0 (diff)
downloaderlang.mk-ae91cfe710341b74403c55962eaa063d60ef2a25.tar.gz
erlang.mk-ae91cfe710341b74403c55962eaa063d60ef2a25.tar.bz2
erlang.mk-ae91cfe710341b74403c55962eaa063d60ef2a25.zip
Fully specify the ct paths
Avoids some annoying warnings when Common Test runs. I believe this is a regression.
Diffstat (limited to 'plugins/ct.mk')
-rw-r--r--plugins/ct.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/ct.mk b/plugins/ct.mk
index 27921dc..eba0e52 100644
--- a/plugins/ct.mk
+++ b/plugins/ct.mk
@@ -31,25 +31,25 @@ help::
CT_RUN = ct_run \
-no_auto_compile \
-noinput \
- -pa ebin $(DEPS_DIR)/*/ebin \
+ -pa $(CURDIR)/ebin $(DEPS_DIR)/*/ebin $(TEST_DIR) \
-dir $(TEST_DIR) \
- -logdir logs
+ -logdir $(CURDIR)/logs
ifeq ($(CT_SUITES),)
ct:
else
ct: test-build
- @mkdir -p logs/
+ @mkdir -p $(CURDIR)/logs/
$(gen_verbose) $(CT_RUN) -suite $(addsuffix _SUITE,$(CT_SUITES)) $(CT_OPTS)
endif
define ct_suite_target
ct-$(1): test-build
- @mkdir -p logs/
+ @mkdir -p $(CURDIR)/logs/
$(gen_verbose) $(CT_RUN) -suite $(addsuffix _SUITE,$(1)) $(CT_OPTS)
endef
$(foreach test,$(CT_SUITES),$(eval $(call ct_suite_target,$(test))))
distclean-ct:
- $(gen_verbose) rm -rf logs/
+ $(gen_verbose) rm -rf $(CURDIR)/logs/