Enable bug report tests in pre/postsubmit am: 6765448386
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440639 Change-Id: I1188d3101d62d630b0982804643cd022e22868a8
This commit is contained in:
40
core/java/android/os/TEST_MAPPING
Normal file
40
core/java/android/os/TEST_MAPPING
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"presubmit": [
|
||||||
|
// TODO(159590499) add BugreportManagerTestCases
|
||||||
|
{
|
||||||
|
"file_patterns": ["Bugreport[^/]*\\.java"],
|
||||||
|
"name": "CtsBugreportTestCases",
|
||||||
|
"options": [
|
||||||
|
{
|
||||||
|
"exclude-annotation": "androidx.test.filters.LargeTest"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file_patterns": ["Bugreport[^/]*\\.java"],
|
||||||
|
"name": "ShellTests",
|
||||||
|
"options": [
|
||||||
|
{
|
||||||
|
"exclude-annotation": "androidx.test.filters.LargeTest"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"postsubmit": [
|
||||||
|
{
|
||||||
|
"file_patterns": ["Bugreport[^/]*\\.java"],
|
||||||
|
"name": "BugreportManagerTestCases"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file_patterns": ["Bugreport[^/]*\\.java"],
|
||||||
|
"name": "CtsBugreportTestCases"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file_patterns": ["Bugreport[^/]*\\.java"],
|
||||||
|
"name": "ShellTests"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
31
packages/Shell/TEST_MAPPING
Normal file
31
packages/Shell/TEST_MAPPING
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"presubmit": [
|
||||||
|
{
|
||||||
|
"name": "CtsBugreportTestCases",
|
||||||
|
"options": [
|
||||||
|
{
|
||||||
|
"exclude-annotation": "androidx.test.filters.LargeTest"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ShellTests",
|
||||||
|
"options": [
|
||||||
|
{
|
||||||
|
"exclude-annotation": "androidx.test.filters.LargeTest"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"postsubmit": [
|
||||||
|
{
|
||||||
|
"name": "CtsBugreportTestCases"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ShellTests"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,7 +1,43 @@
|
|||||||
{
|
{
|
||||||
"presubmit": [
|
"presubmit": [
|
||||||
|
// TODO(159590499) add BugreportManagerTestCases
|
||||||
|
{
|
||||||
|
"file_patterns": ["Bugreport[^/]*\\.java"],
|
||||||
|
"name": "CtsBugreportTestCases",
|
||||||
|
"options": [
|
||||||
|
{
|
||||||
|
"exclude-annotation": "androidx.test.filters.LargeTest"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "CtsUsbTests"
|
"name": "CtsUsbTests"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file_patterns": ["Bugreport[^/]*\\.java"],
|
||||||
|
"name": "ShellTests",
|
||||||
|
"options": [
|
||||||
|
{
|
||||||
|
"exclude-annotation": "androidx.test.filters.LargeTest"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"postsubmit": [
|
||||||
|
{
|
||||||
|
"file_patterns": ["Bugreport[^/]*\\.java"],
|
||||||
|
"name": "BugreportManagerTestCases"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file_patterns": ["Bugreport[^/]*\\.java"],
|
||||||
|
"name": "CtsBugreportTestCases"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file_patterns": ["Bugreport[^/]*\\.java"],
|
||||||
|
"name": "ShellTests"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user