summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Herouart <rherouart@google.com>2024-04-05 12:03:20 +0000
committerRaphael Herouart <rherouart@google.com>2024-04-05 12:07:46 +0000
commit112b3fab13dd0105a3e2866d60cb5d881cc21ae5 (patch)
treec6437a71f6b4630af7b31d9a07c9dc74f8161b4b
parent0dd18d4b8fd3bd0b5511b9389f9205a38447d9cc (diff)
downloadaosp-112b3fab13dd0105a3e2866d60cb5d881cc21ae5.tar.gz
aosp/scripts: Provide a "tablet" flag
Some tests can only run on tablet devices. Bug: 330684206 Test: build.py and check test map for tests where tablet flag was added Change-Id: I73af5721f43ef41d7ad76cad2e2e774e24c5ab54
-rwxr-xr-xscripts/trusty_build_config.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/trusty_build_config.py b/scripts/trusty_build_config.py
index 18fd9e1..e2fb67c 100755
--- a/scripts/trusty_build_config.py
+++ b/scripts/trusty_build_config.py
@@ -55,7 +55,8 @@ class TrustyBuildConfigProject(object):
class TrustyPortTestFlags(object):
"""Stores need flags for a test or provide flags for a test environment."""
- ALLOWED_FLAGS = {"android", "storage_boot", "storage_full", "smp4", "abl"}
+ ALLOWED_FLAGS = {"android", "storage_boot", "storage_full",
+ "smp4", "abl", "tablet"}
def __init__(self, **flags):
self.flags = set()
@@ -346,7 +347,8 @@ class TrustyBuildConfig(object):
storage_boot=True,
storage_full=True,
smp4=True,
- abl=True)
+ abl=True,
+ tablet=True)
return [test.into_androidporttest(nameprefix=nameprefix,
cmdargs=cmdargs,