diff options
author | derwinlu <[email protected]> | 2016-02-08 13:50:40 +0100 |
---|---|---|
committer | derwinlu <[email protected]> | 2016-02-08 19:45:43 +0100 |
commit | 8a69d434d90a1d971834ac4c81f060e9702b1252 (patch) | |
tree | e44d4d2d61fa4a9475b981ff6c4d221915b9c6bc /plugins/ct.mk | |
parent | 35e12830150264f76cd21aa5941df3c4df48e5d8 (diff) | |
download | erlang.mk-8a69d434d90a1d971834ac4c81f060e9702b1252.tar.gz erlang.mk-8a69d434d90a1d971834ac4c81f060e9702b1252.tar.bz2 erlang.mk-8a69d434d90a1d971834ac4c81f060e9702b1252.zip |
Fix ct for multi-app repositories
* Include $(APPS_DIR)/*/ebin in CT_RUN
* test-build before ct-apps
* Test that my_lib is accessible from my-app ct
Diffstat (limited to 'plugins/ct.mk')
-rw-r--r-- | plugins/ct.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ct.mk b/plugins/ct.mk index c8f7bf8..4d0c020 100644 --- a/plugins/ct.mk +++ b/plugins/ct.mk @@ -31,7 +31,7 @@ help:: CT_RUN = ct_run \ -no_auto_compile \ -noinput \ - -pa $(CURDIR)/ebin $(DEPS_DIR)/*/ebin $(TEST_DIR) \ + -pa $(CURDIR)/ebin $(DEPS_DIR)/*/ebin $(APPS_DIR)/*/ebin $(TEST_DIR) \ -dir $(TEST_DIR) \ -logdir $(CURDIR)/logs @@ -51,7 +51,7 @@ endef $(foreach app,$(ALL_APPS_DIRS),$(eval $(call ct_app_target,$(app)))) -apps-ct: $(addprefix apps-ct-,$(ALL_APPS_DIRS)) +apps-ct: test-build $(addprefix apps-ct-,$(ALL_APPS_DIRS)) endif ifndef t |