From f021c464fdb713934ec2b0bf1a9efd9216c1166e Mon Sep 17 00:00:00 2001 From: Chen Zhu Date: Fri, 8 May 2020 15:26:32 -0700 Subject: [PATCH] Apply MainlineTestModuleController to tethering cts tests to only run them when com.google.android.tethering is installed on device. This does not change any existing CTS run. The logic only applies when the test triggered by mts-tradefed to make sure it runs appropriate set of tests against the device. For example, the test will be skipped when running MTS on Q because tethering and wifi are not on Q devices. Bug: 154845935 Test: m mts && mts-tradefed run mts-tethering Change-Id: I9e6bd60982d4ef67538ad506e7008366bbf35363 --- tests/cts/tethering/AndroidTest.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/cts/tethering/AndroidTest.xml b/tests/cts/tethering/AndroidTest.xml index d0a2bce811..e752e3a82a 100644 --- a/tests/cts/tethering/AndroidTest.xml +++ b/tests/cts/tethering/AndroidTest.xml @@ -28,4 +28,8 @@ + + +