Adding test-mapping group for large screen specific tests
"large-screen-postsubmit" filters test by @LargeScreenOnly annotation. See sample test in ag/15795721. Bug: 191260984 Test: atest --test-mapping frameworks/base/packages/SystemUI:large-screen-postsubmit Change-Id: Iad98e54521ad0ee782b5e28a3cb8c885192a6ec5
This commit is contained in:
@@ -22,6 +22,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"exclude-annotation": "android.platform.test.annotations.Postsubmit"
|
"exclude-annotation": "android.platform.test.annotations.Postsubmit"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"exclude-annotation": "android.platform.test.scenario.annotation.LargeScreenOnly"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -94,6 +97,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"exclude-annotation": "android.platform.helpers.Staging"
|
"exclude-annotation": "android.platform.helpers.Staging"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"exclude-annotation": "android.platform.test.scenario.annotation.LargeScreenOnly"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -110,6 +116,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"exclude-annotation": "org.junit.Ignore"
|
"exclude-annotation": "org.junit.Ignore"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"exclude-annotation": "android.platform.test.scenario.annotation.LargeScreenOnly"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -126,5 +135,24 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"large-screen-postsubmit": [
|
||||||
|
{
|
||||||
|
"name": "PlatformScenarioTests",
|
||||||
|
"options" : [
|
||||||
|
{
|
||||||
|
"include-filter": "android.platform.test.scenario.sysui"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"include-annotation": "android.platform.test.scenario.annotation.LargeScreenOnly"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"exclude-annotation": "org.junit.Ignore"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user