Merge "Enable bug report tests in pre/postsubmit"
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": [
|
||||
// TODO(159590499) add BugreportManagerTestCases
|
||||
{
|
||||
"file_patterns": ["Bugreport[^/]*\\.java"],
|
||||
"name": "CtsBugreportTestCases",
|
||||
"options": [
|
||||
{
|
||||
"exclude-annotation": "androidx.test.filters.LargeTest"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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