Merge "Let sysui integration tests run in presubmit."
This commit is contained in:
committed by
Android (Google) Code Review
commit
553fb27d21
@@ -1,7 +1,7 @@
|
||||
{
|
||||
// Looking for unit test presubmit configuration?
|
||||
// This currently lives in ATP config apct/system_ui/unit_test
|
||||
"staged-platinum-postsubmit": [
|
||||
"presubmit": [
|
||||
{
|
||||
"name": "PlatformScenarioTests",
|
||||
"options": [
|
||||
@@ -16,10 +16,30 @@
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "android.platform.helpers.Staging"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "android.platform.test.annotations.Postsubmit"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
// Curious where your @Scenario tests will run?
|
||||
//
|
||||
// @Ignore or @FlakyTest: nowhere
|
||||
// @Staging: in staged-postsubmit, but not postsubmit or presubmit
|
||||
// @Postsubmit: in postsubmit and staged-postsubmit, but not presubmit
|
||||
// none of the above: in presubmit, postsubmit, and staged-postsubmit
|
||||
//
|
||||
// Therefore, please annotate new tests with @Staging, then with @Postsubmit
|
||||
// once they're ready for postsubmit, then with neither once they're ready
|
||||
// for presubmit.
|
||||
//
|
||||
// If you don't use @Staging or @Postsubmit, your new test will immediately
|
||||
// block presubmit, which is probably not what you want!
|
||||
"platinum-postsubmit": [
|
||||
{
|
||||
"name": "PlatformScenarioTests",
|
||||
@@ -42,6 +62,25 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"staged-platinum-postsubmit": [
|
||||
{
|
||||
"name": "PlatformScenarioTests",
|
||||
"options": [
|
||||
{
|
||||
"include-filter": "android.platform.test.scenario.sysui"
|
||||
},
|
||||
{
|
||||
"include-annotation": "android.platform.test.scenario.annotation.Scenario"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "org.junit.Ignore"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"auto-end-to-end-postsubmit": [
|
||||
{
|
||||
"name": "AndroidAutoUiTests",
|
||||
|
||||
Reference in New Issue
Block a user