Exclude mcts tests from cts based on the env config.

Change-Id: Ife879a0553076f4bf2a5e9835807fbf5a86dea27
Merged-In: Ife879a0553076f4bf2a5e9835807fbf5a86dea27
Test: make cts EXCLUDE_MCTS=true
Bug: 345592291
This commit is contained in:
Tongbo Liu
2024-07-10 09:43:56 +00:00
parent dccd189954
commit 15c19082d4

View File

@@ -710,6 +710,14 @@ endif
ifdef LOCAL_COMPATIBILITY_SUITE
ifneq (true,$(LOCAL_UNINSTALLABLE_MODULE))
ifeq ($(EXCLUDE_MCTS),true)
ifneq (,$(test_config))
ifneq (,$(filter mcts-%,$(LOCAL_COMPATIBILITY_SUITE)))
LOCAL_COMPATIBILITY_SUITE := $(filter-out cts,$(LOCAL_COMPATIBILITY_SUITE))
endif
endif
endif
# If we are building a native test or benchmark and its stem variants are not defined,
# separate the multiple architectures into subdirectories of the testcase folder.
arch_dir :=