From a1b13d6d39ef4b9e0b5244c74046daa4726d25d3 Mon Sep 17 00:00:00 2001 From: easoncylee Date: Fri, 12 Jun 2020 14:14:14 +0800 Subject: [PATCH] Add CtsNetTestCasesLatestSdk to mainline-presubmit This is the pilot run for mainline testing in Test Mapping Suite. For supporting mainline testing in Test Mapping Suite, developers can run tests by configuring the TEST_MAPPING file, the 3 simple steps are: - Add tests to be part of general-tests suite if the test does not depend on a device specific features. - Update test configureation for TradeFed to run mainline testing. - Update TEST_MAPPING file with test-group as "mainline-presubmit" It's only for postsubmit now, and will be moved to actual presubmit once the whole mechanism is stable. For more details about the usage, please refer to go/test-mapping-mainline-user-guide Bug: 160753366 Test: forrest. Change-Id: I8704cc5626a3e049eb3c27adb86e9c1a4d828273 --- tests/cts/net/Android.bp | 2 +- tests/cts/net/AndroidTestTemplate.xml | 2 ++ tests/cts/net/TEST_MAPPING | 10 ++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/tests/cts/net/Android.bp b/tests/cts/net/Android.bp index c90ca5e4ab..926b45c9d3 100644 --- a/tests/cts/net/Android.bp +++ b/tests/cts/net/Android.bp @@ -83,7 +83,7 @@ android_test { min_sdk_version: "29", target_sdk_version: "29", test_suites: [ - "device-tests", + "general-tests", "mts", ], test_config_template: "AndroidTestTemplate.xml", diff --git a/tests/cts/net/AndroidTestTemplate.xml b/tests/cts/net/AndroidTestTemplate.xml index 1f75da1860..4e937512ad 100644 --- a/tests/cts/net/AndroidTestTemplate.xml +++ b/tests/cts/net/AndroidTestTemplate.xml @@ -19,6 +19,8 @@