summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Dieter Hsu <dieterhsu@google.com> 2020-07-02 01:09:47 +0800
committer Gavin Corkery <gavincorkery@google.com> 2020-09-29 18:54:37 +0100
commit59a1d2b4aa0ade79b655c5628f78a9f8ca0d07c4 (patch)
tree60f581754f0c7760753d47cc8a73c3dfa1a268d4
parent67654483860a4623baf92dcaa9a53afc7d84a8eb (diff)
Add BugreportManagerTestCases to bugreport presubmit
Bug: 159590499 Test: atest --test-mapping --dry-run \ services/core/java/com/android/server/os:presubmit Test: atest --test-mapping --dry-run core/java/android/os:presubmit Change-Id: Ib6ec81570d5000ae3c7cb76da0e8e0eed98c425e Merged-In: Ib6ec81570d5000ae3c7cb76da0e8e0eed98c425e (cherry picked from commit f7f4f62850d7136a1b0bfe33c0e899736992d4f7)
-rw-r--r--core/java/android/os/TEST_MAPPING10
-rw-r--r--services/core/java/com/android/server/os/TEST_MAPPING10
2 files changed, 18 insertions, 2 deletions
diff --git a/core/java/android/os/TEST_MAPPING b/core/java/android/os/TEST_MAPPING
index f4645caee511..39c196d1a06c 100644
--- a/core/java/android/os/TEST_MAPPING
+++ b/core/java/android/os/TEST_MAPPING
@@ -1,6 +1,14 @@
{
"presubmit": [
- // TODO(159590499) add BugreportManagerTestCases
+ {
+ "file_patterns": ["Bugreport[^/]*\\.java"],
+ "name": "BugreportManagerTestCases",
+ "options": [
+ {
+ "exclude-annotation": "androidx.test.filters.LargeTest"
+ }
+ ]
+ },
{
"file_patterns": ["Bugreport[^/]*\\.java"],
"name": "CtsBugreportTestCases",
diff --git a/services/core/java/com/android/server/os/TEST_MAPPING b/services/core/java/com/android/server/os/TEST_MAPPING
index a837fb4184ba..d937af1e3fdb 100644
--- a/services/core/java/com/android/server/os/TEST_MAPPING
+++ b/services/core/java/com/android/server/os/TEST_MAPPING
@@ -1,6 +1,14 @@
{
"presubmit": [
- // TODO(159590499) add BugreportManagerTestCases
+ {
+ "file_patterns": ["Bugreport[^/]*\\.java"],
+ "name": "BugreportManagerTestCases",
+ "options": [
+ {
+ "exclude-annotation": "androidx.test.filters.LargeTest"
+ }
+ ]
+ },
{
"file_patterns": ["Bugreport[^/]*\\.java"],
"name": "CtsBugreportTestCases",