Merge "Exclude mcts tests from cts based on the env config" into main am: 5e32d41441
Original change: https://android-review.googlesource.com/c/platform/build/+/3081046 Change-Id: I2efc05396ceb3b7c732072d99f1089be2a23f226 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -716,6 +716,14 @@ else
|
||||
test_config := $(wildcard $(LOCAL_PATH)/AndroidTest.xml)
|
||||
endif
|
||||
|
||||
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
|
||||
|
||||
ifneq (true,$(LOCAL_UNINSTALLABLE_MODULE))
|
||||
|
||||
# If we are building a native test or benchmark and its stem variants are not defined,
|
||||
|
Reference in New Issue
Block a user