summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-prod (mdb) <android-build-team-robot@google.com>2020-09-29 20:01:37 +0000
committerandroid-build-prod (mdb) <android-build-team-robot@google.com>2020-09-29 20:01:37 +0000
commitf8fd7e6cb8e81aee8ee5f2769f268967fbfdc40e (patch)
treec6e0a7d501eaadedce648e31b5ea2800ddc0d125
parentbd48529dba00c4390738408030bb05b0693edcd1 (diff)
parentc3bb6523c607df023b547f9464b958b72f493df1 (diff)
downloadplatform_test_vts-testcase_hal-android11-tests-release.tar.gz
platform_test_vts-testcase_hal-android11-tests-release.tar.bz2
platform_test_vts-testcase_hal-android11-tests-release.zip
Snap for 6870217 from c3bb6523c607df023b547f9464b958b72f493df1 to android11-tests-releaseandroid11-tests-release
Change-Id: I7e4482026e12cf47fc773121434c0ad245309d17
-rw-r--r--usb/gadget/V1_0/host/Android.bp2
-rw-r--r--usb/gadget/V1_0/host/HalUsbGadgetV1_0HostTest.xml22
2 files changed, 23 insertions, 1 deletions
diff --git a/usb/gadget/V1_0/host/Android.bp b/usb/gadget/V1_0/host/Android.bp
index db9b24d9..eabeb7f5 100644
--- a/usb/gadget/V1_0/host/Android.bp
+++ b/usb/gadget/V1_0/host/Android.bp
@@ -30,5 +30,5 @@ java_test_host {
test_suites: [
"vts",
],
- auto_gen_config: true,
+ test_config: "HalUsbGadgetV1_0HostTest.xml",
}
diff --git a/usb/gadget/V1_0/host/HalUsbGadgetV1_0HostTest.xml b/usb/gadget/V1_0/host/HalUsbGadgetV1_0HostTest.xml
new file mode 100644
index 00000000..107bd3f3
--- /dev/null
+++ b/usb/gadget/V1_0/host/HalUsbGadgetV1_0HostTest.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2020 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<configuration description="Runs HalUsbGadgetV1_0HostTest">
+ <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer" />
+
+ <test class="com.android.tradefed.testtype.HostTest" >
+ <option name="jar" value="HalUsbGadgetV1_0HostTest.jar" />
+ </test>
+</configuration>