summaryrefslogtreecommitdiff
path: root/java/robolectric.go
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2022-12-07 00:49:03 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2022-12-07 00:49:03 +0000
commitc7e4dcf1e8d6154312d06a8810ff63dd83fd6db3 (patch)
treefba0fc79800378f5c6a3333ee3ee9664b024d2bf /java/robolectric.go
parent3a69f939871661bf2c76ec369e042832dc1ed6e4 (diff)
parent3f97ea2ed979a84b3c24db2a91af3cb05b751b3e (diff)
Merge "Set the test suite for Robolectric tests"
Diffstat (limited to 'java/robolectric.go')
-rw-r--r--java/robolectric.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/robolectric.go b/java/robolectric.go
index 1d567083d..938abe138 100644
--- a/java/robolectric.go
+++ b/java/robolectric.go
@@ -296,6 +296,7 @@ func (r *robolectricTest) AndroidMkEntries() []android.AndroidMkEntries {
entries.ExtraEntries = append(entries.ExtraEntries,
func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
entries.SetBool("LOCAL_UNINSTALLABLE_MODULE", true)
+ entries.AddStrings("LOCAL_COMPATIBILITY_SUITE", "robolectric-tests")
})
entries.ExtraFooters = []android.AndroidMkExtraFootersFunc{