Files
android_packages_modules_Co…/TEST_MAPPING
Remi NGUYEN VAN 109fd92b3d Add back tethering to mainline-postsubmit
Tethering was removed from mainline-postsubmit while Connectivity was
being added to it, but it can run in postsubmit again now.

If the runs are successful, it can be added to presubmit as well.

Ignore-AOSP-First: Partial revert of change that did not go to AOSP
Bug: 177290955
Test: TH needs to test postsubmit

Change-Id: I5d5dbccd8d14be573104947412a76578b2d7a6c1
2021-06-23 08:19:45 +00:00

52 lines
1.4 KiB
Plaintext

{
"presubmit": [
// Run in addition to mainline-presubmit as mainline-presubmit is not
// supported in every branch.
// CtsNetTestCasesLatestSdk uses stable API shims, so does not exercise
// some latest APIs. Run CtsNetTestCases to get coverage of newer APIs.
{
"name": "CtsNetTestCases",
"options": [
{
"exclude-annotation": "com.android.testutils.SkipPresubmit"
}
]
}
],
"mainline-presubmit": [
{
// TODO: add back the tethering modules when updatable in this branch
"name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex]",
"options": [
{
"exclude-annotation": "com.android.testutils.SkipPresubmit"
}
]
}
],
// Tests on physical devices with SIM cards: postsubmit only for capacity constraints
"mainline-postsubmit": [
{
"name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]",
"keywords": ["sim"]
}
],
"imports": [
{
"path": "frameworks/base/core/java/android/net"
},
{
"path": "packages/modules/NetworkStack"
},
{
"path": "packages/modules/CaptivePortalLogin"
},
{
"path": "packages/modules/Connectivity"
},
{
"path": "packages/modules/Connectivity/Tethering"
}
]
}