diff options
author | 2023-07-20 14:22:06 -0700 | |
---|---|---|
committer | 2023-07-23 19:41:52 +0000 | |
commit | 37f95ec9088d6e3b05f48729be0864b52bf7d18f (patch) | |
tree | 26ea208e07c7e25282056715eba1aae276e14426 /TEST_MAPPING | |
parent | 5493a0023544bfca09a08c81b44c852e85c36030 (diff) |
Add alltests test-group to TEST_MAPPING
This adds a new test-group 'alltests' to the Permission module's root
TEST_MAPPING file.
When invoked, it will essentially run *all* Android permissions tests,
from both the cts an packages/modules/Permission projects.
To invoke it locally, run either:
cd packages/modules/Permission && atest :alltests
...or:
atest -p $ANDROID_BUILD_TOP/packages/modules/Permission:alltests
Or, in ABTD, run a test with parameters:
- Mode: "Test Mapping"
- Test mapping path: "packages/modules/Permission"
- Test group: "alltests"
Change-Id: Ib0c71bec94efd1b40415cc4366bc63d492f26dae
Test: atest -p $ANDROID_BUILD_TOP/packages/modules/Permission:alltests
Bug: 290240890
Diffstat (limited to 'TEST_MAPPING')
-rw-r--r-- | TEST_MAPPING | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/TEST_MAPPING b/TEST_MAPPING index 8bee2edb6..d2c722c63 100644 --- a/TEST_MAPPING +++ b/TEST_MAPPING @@ -13,6 +13,51 @@ } ] } + ], + "alltests" : [ + { + "name" : "PermissionControllerMockingTests" + }, + { + "name" : "CtsPermissionTestCases" + }, + { + "name" : "CtsPermissionUiTestCases" + }, + { + "name" : "CtsPermissionPolicyTestCases" + }, + { + "name" : "CtsAppOpsTestCases" + }, + { + "name" : "CtsAppOps2TestCases" + }, + { + "name": "PermissionControllerOutOfProcessTests" + }, + { + "name" : "CtsRoleTestCases" + }, + { + "name" : "CtsPermissionMultiUserTestCases" + }, + { + "name": "CtsBackupTestCases", + "options": [ + { + "include-filter": "android.backup.cts.PermissionTest" + } + ] + }, + { + "name": "CtsDevicePolicyManagerTestCases", + "options": [ + { + "include-annotation": "com.android.cts.devicepolicy.annotations.PermissionsTest" + } + ] + } ] // TODO: Do we need to create a carpermission-postsubmit test-group? } |