summaryrefslogtreecommitdiff
path: root/android/csuite_config.go
diff options
context:
space:
mode:
author Liz Kammer <eakammer@google.com> 2020-11-24 12:42:58 -0800
committer Liz Kammer <eakammer@google.com> 2020-12-01 12:23:56 -0800
commit57f5b33ad3c0b1d027e258d1633ef2a4a6de24e4 (patch)
tree3021b276c768128db56759011bf8ba6792454741 /android/csuite_config.go
parentfdea25781f72a2f15fdad0bacc633a6c8f255fec (diff)
Add test suite handling to central androidmk code
MTS is introducing partial MTS test suites that are per-module, with names of the format: mts-${MODULE}. By centralizing the code for test suites, we can automatically add "mts" test suite when an "mts-${MODULE}" test suite is specified, reducing duplication. Test: m mts Bug: 170318013 Change-Id: I8ce9d3c252fcc0a937bb5f2826d21cb6c6932d82
Diffstat (limited to 'android/csuite_config.go')
-rw-r--r--android/csuite_config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/csuite_config.go b/android/csuite_config.go
index a5b15331a..bf24d98c7 100644
--- a/android/csuite_config.go
+++ b/android/csuite_config.go
@@ -44,7 +44,7 @@ func (me *CSuiteConfig) AndroidMkEntries() []AndroidMkEntries {
if me.properties.Test_config != nil {
entries.SetString("LOCAL_TEST_CONFIG", *me.properties.Test_config)
}
- entries.AddStrings("LOCAL_COMPATIBILITY_SUITE", "csuite")
+ entries.AddCompatibilityTestSuites("csuite")
},
}
return []AndroidMkEntries{androidMkEntries}