From fb34c5861a1fafaab201c282805bf08f479fe475 Mon Sep 17 00:00:00 2001 From: Treehugger Robot Date: Mon, 28 Jun 2021 06:43:01 +0000 Subject: [PATCH] Move test_mainline_modules to AndroidTest.xml When an AndroidTest.xml is used, configuration needs to be in the AndroidTest.xml file, not in the Android.bp. This currently causes tests not to be run in TEST_MAPPING as they should be. Test: TH needs to test Bug: 187935317 Original-Change: https://android-review.googlesource.com/1748157 Merged-In: Ie0aca0c64646825175769cd375bcecf65de4b4c8 Change-Id: Ie0aca0c64646825175769cd375bcecf65de4b4c8 --- tests/common/Android.bp | 3 --- tests/common/AndroidTest_Coverage.xml | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/common/Android.bp b/tests/common/Android.bp index 515c00ca6f..28339f116d 100644 --- a/tests/common/Android.bp +++ b/tests/common/Android.bp @@ -50,9 +50,6 @@ android_test { // TODO: change to 31 as soon as it is available target_sdk_version: "30", test_suites: ["device-tests", "mts"], - test_mainline_modules: [ - "CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex", - ], defaults: [ "framework-connectivity-test-defaults", "FrameworksNetTests-jni-defaults", diff --git a/tests/common/AndroidTest_Coverage.xml b/tests/common/AndroidTest_Coverage.xml index 577f36a3da..7c8e710053 100644 --- a/tests/common/AndroidTest_Coverage.xml +++ b/tests/common/AndroidTest_Coverage.xml @@ -18,6 +18,7 @@