RESTRICT AUTOMERGE: Exclude mcts tests from cts based on the env config, a CP from aosp/3081046. am: b60ebe0d7f
am: 455b339478
am: 7068c6b755
Original change: https://android-review.googlesource.com/c/platform/build/+/3164465 Change-Id: I58a64c8d13ac38e2d4235d6368ae85a9b440fa34 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -725,6 +725,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