summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Su <dysu@google.com>2020-03-11 17:58:43 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-03-11 17:58:43 +0000
commite086bee18ee260b39649f32ab018ff4142e0da2f (patch)
tree63d0d992cf8e56221e70fade3c4e53818d9887dc
parent01d689899fcd12fb7429b72dded7a4c64076333c (diff)
parent110e63147cabfa2edf949a4f6694b1fcdd5c46b2 (diff)
Merge "MTS: only run FrameworksWifiTests if Wifi module is installed" into rvc-dev
-rw-r--r--tests/wifitests/AndroidTest.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/wifitests/AndroidTest.xml b/tests/wifitests/AndroidTest.xml
index d9f363449..f904a4436 100644
--- a/tests/wifitests/AndroidTest.xml
+++ b/tests/wifitests/AndroidTest.xml
@@ -25,4 +25,10 @@
<option name="runner" value="com.android.server.wifi.CustomTestRunner" />
<option name="hidden-api-checks" value="false"/>
</test>
+
+ <!-- Only run FrameworksWifiTests in MTS if the Wifi Mainline module is installed. -->
+ <object type="module_controller"
+ class="com.android.tradefed.testtype.suite.module.MainlineTestModuleController">
+ <option name="mainline-module-package-name" value="com.google.android.wifi" />
+ </object>
</configuration>