summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Songchun Fan <schfan@google.com> 2021-02-22 22:58:55 +0000
committer Songchun Fan <schfan@google.com> 2021-02-22 23:46:16 +0000
commit0813fb06bf18ae7f6e07acb60bf6ec238ddbd8f3 (patch)
tree704556bb1b5afd4149659e9a5689372edcfbf1f6
parent3d187a3ff572629e657dc2d8fdeaffc828b21aea (diff)
[test] TEST_MAPPING for incremental service
BUG: 172866626 Test: presubmit test; atest Change-Id: If5a018028f83d44a71585173842c8535be2288b9
-rw-r--r--services/incremental/Android.bp5
-rw-r--r--services/incremental/TEST_MAPPING32
2 files changed, 36 insertions, 1 deletions
diff --git a/services/incremental/Android.bp b/services/incremental/Android.bp
index 7e1e99fe0a23..5ffbd771764d 100644
--- a/services/incremental/Android.bp
+++ b/services/incremental/Android.bp
@@ -133,5 +133,8 @@ cc_test {
],
static_libs: [
"libgmock",
- ]
+ ],
+ test_options: {
+ unit_test: true,
+ },
}
diff --git a/services/incremental/TEST_MAPPING b/services/incremental/TEST_MAPPING
new file mode 100644
index 000000000000..d93525600a2d
--- /dev/null
+++ b/services/incremental/TEST_MAPPING
@@ -0,0 +1,32 @@
+{
+ "presubmit": [
+ {
+ "name": "CtsContentTestCases",
+ "options": [
+ {
+ "include-filter": "android.content.pm.cts.PackageManagerShellCommandTest"
+ },
+ {
+ "include-filter": "android.content.pm.cts.PackageManagerShellCommandIncrementalTest"
+ },
+ {
+ "include-filter": "android.content.pm.cts.ChecksumsTest"
+ }
+ ]
+ },
+ {
+ "name": "CtsPackageManagerStatsHostTestCases",
+ "options": [
+ {
+ "include-filter": "com.android.cts.packagemanager.stats.host.PackageInstallerV2StatsTests"
+ }
+ ]
+ },
+ {
+ "name": "CtsIncrementalInstallHostTestCases"
+ },
+ {
+ "name": "CtsInstalledLoadingProgressHostTests"
+ }
+ ]
+}