aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTongbo Liu <liutongbo@google.com>2024-02-23 04:47:38 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2024-02-23 04:47:38 +0000
commit4cbde4a6a9bf0f624f61e8695b6e9d70f42bef97 (patch)
treef5d65a81d172ec52490ad789f855b462b786d48d
parent1e1f0188c14be86d18032e60e9e287fc6a94a3de (diff)
parent1643c88c6a75275ddd5ce49b0060b5a39e8ef13b (diff)
Merge "[DO NOT MERGE] Build MCTS on mainline branches" into udc-mainline-prod
-rw-r--r--android/androidmk.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/android/androidmk.go b/android/androidmk.go
index aa411d116..ee5ac20a5 100644
--- a/android/androidmk.go
+++ b/android/androidmk.go
@@ -275,14 +275,17 @@ func (a *AndroidMkEntries) AddStrings(name string, value ...string) {
}
// AddCompatibilityTestSuites adds the supplied test suites to the EntryMap, with special handling
-// for partial MTS test suites.
+// for partial MTS and MCTS test suites.
func (a *AndroidMkEntries) AddCompatibilityTestSuites(suites ...string) {
- // MTS supports a full test suite and partial per-module MTS test suites, with naming mts-${MODULE}.
- // To reduce repetition, if we find a partial MTS test suite without an full MTS test suite,
+ // MT(C)S supports a full test suite and partial per-module MT(C)S test suites, with naming mts-${MODULE}.
+ // To reduce repetition, if we find a partial MT(C)S test suite without an full MTS test suite,
// we add the full test suite to our list.
if PrefixInList(suites, "mts-") && !InList("mts", suites) {
suites = append(suites, "mts")
}
+ if PrefixInList(suites, "mcts-") && !InList("mcts", suites) {
+ suites = append(suites, "mcts")
+ }
a.AddStrings("LOCAL_COMPATIBILITY_SUITE", suites...)
}