summaryrefslogtreecommitdiff
path: root/wifi/tests
diff options
context:
space:
mode:
authorDavid Su <dysu@google.com>2020-03-11 17:58:44 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-03-11 17:58:44 +0000
commit3320dd6186e41f83dfccb8fe5303044933bbabe3 (patch)
treeb0d0498cfc82754dd3111d705a530e6f77aa90ee /wifi/tests
parentb992b3353b15dad2472a3aa680e40fc349b8d795 (diff)
parent6df01e928d0ed87f0aef771c2557e8e9c0315cbb (diff)
Merge "MTS: only run FrameworksWifiApiTest if Wifi module is installed" into rvc-dev
Diffstat (limited to 'wifi/tests')
-rw-r--r--wifi/tests/AndroidTest.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/wifi/tests/AndroidTest.xml b/wifi/tests/AndroidTest.xml
index 987fee79fefd..34e2e3af9cda 100644
--- a/wifi/tests/AndroidTest.xml
+++ b/wifi/tests/AndroidTest.xml
@@ -25,4 +25,10 @@
<option name="runner" value="androidx.test.runner.AndroidJUnitRunner" />
<option name="hidden-api-checks" value="false"/>
</test>
+
+ <!-- Only run FrameworksWifiApiTests 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>