Merge "Merge "Exclude mcts tests from cts based on the env config." into android13-tests-dev am: b4a761670b" into android14-tests-dev am: bee2154347

Original change: https://android-review.googlesource.com/c/platform/build/+/3164466

Change-Id: I923d105c505163cff9c248d5a656e08e0d104d83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Automerger Merge Worker
2024-07-23 08:54:12 +00:00

View File

@@ -728,6 +728,14 @@ endif
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 :=