diff options
| author | Diana Corbacho <diana@rabbitmq.com> | 2017-03-06 16:13:57 +0000 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2017-03-09 12:48:53 +0100 |
| commit | 89aaeec86a89f36509fd9030c0c6f1dc81495a0e (patch) | |
| tree | 1c98f95977d02d4e926ea4f01d172eb52436fbb3 /erlang.mk | |
| parent | b1ce3f16a605ad9f06fe98c5e7ff49ba23f4b1f4 (diff) | |
| download | rabbitmq-server-git-89aaeec86a89f36509fd9030c0c6f1dc81495a0e.tar.gz | |
Split test suites into fast and slow Makefile targets
References #1136
[#136613953]
Diffstat (limited to 'erlang.mk')
| -rw-r--r-- | erlang.mk | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -6120,6 +6120,8 @@ CT_OPTS ?= ifneq ($(wildcard $(TEST_DIR)),) ifndef CT_SUITES CT_SUITES := $(sort $(subst _SUITE.erl,,$(notdir $(call core_find,$(TEST_DIR)/,*_SUITE.erl)))) +SLOW_CT_SUITES := $(sort cluster_rename clustering_management dynamic_ha eager_sync health_check partitions priority_queue simple_ha queue_master_location unit_inbroker_backing_queue) +FAST_CT_SUITES := $(filter-out $(SLOW_CT_SUITES),$(CT_SUITES)) endif endif CT_SUITES ?= @@ -6153,6 +6155,12 @@ else ct: test-build $(if $(IS_APP),,apps-ct) $(verbose) mkdir -p $(CURDIR)/logs/ $(gen_verbose) $(CT_RUN) -sname ct_$(PROJECT) -suite $(addsuffix _SUITE,$(CT_SUITES)) $(CT_OPTS) +ct-slow: test-build $(if $(IS_APP),,apps-ct) + $(verbose) mkdir -p $(CURDIR)/logs/ + $(gen_verbose) $(CT_RUN) -sname ct_$(PROJECT) -suite $(addsuffix _SUITE,$(SLOW_CT_SUITES)) $(CT_OPTS) +ct-fast: test-build $(if $(IS_APP),,apps-ct) + $(verbose) mkdir -p $(CURDIR)/logs/ + $(gen_verbose) $(CT_RUN) -sname ct_$(PROJECT) -suite $(addsuffix _SUITE,$(FAST_CT_SUITES)) $(CT_OPTS) endif ifneq ($(ALL_APPS_DIRS),) |
