summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Su <dysu@google.com>2019-12-13 15:16:50 -0800
committerDavid Su <dysu@google.com>2019-12-13 18:03:29 -0800
commit4184d6bc5fb33254dfb67be4cfe15a88b6f98218 (patch)
treee801b84cdb4f494e78ea0b63128324c56ae33cd4
parentec3061ae838eb7e867e4b54dea2dc40d96296ac8 (diff)
Add FrameworksWifiTests to MTS
Bug: 146163587 Test: compiles Change-Id: Ib383241b467134bd50763a0c0d389edc5ec9696c
-rw-r--r--tests/wifitests/Android.bp5
-rw-r--r--tests/wifitests/AndroidTest.xml2
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/wifitests/Android.bp b/tests/wifitests/Android.bp
index 8d599c9da..fa436bd35 100644
--- a/tests/wifitests/Android.bp
+++ b/tests/wifitests/Android.bp
@@ -101,7 +101,10 @@ android_test {
min_sdk_version: "29",
platform_apis: true,
privileged: true,
- test_suites: ["device-tests"],
+ test_suites: [
+ "device-tests",
+ "mts",
+ ],
// For coverage
jacoco: {
diff --git a/tests/wifitests/AndroidTest.xml b/tests/wifitests/AndroidTest.xml
index 9fea86694..d9f363449 100644
--- a/tests/wifitests/AndroidTest.xml
+++ b/tests/wifitests/AndroidTest.xml
@@ -14,7 +14,7 @@
limitations under the License.
-->
<configuration description="Runs Frameworks Wifi Tests.">
- <target_preparer class="com.android.tradefed.targetprep.TestAppInstallSetup">
+ <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
<option name="test-file-name" value="FrameworksWifiTests.apk" />
</target_preparer>