diff options
author | Arthur Ishiguro <arthuri@google.com> | 2022-08-04 15:25:51 +0000 |
---|---|---|
committer | Arthur Ishiguro <arthuri@google.com> | 2022-08-04 19:59:05 +0000 |
commit | ad325a015046120205aa7d0ecf4adc724f5e42d4 (patch) | |
tree | 7682b6e63134b10c092ff0e3e3dab8be3eae7a15 /sensors | |
parent | 744c3292278b9801f25fd10ea393ba66b21ba489 (diff) |
Adds AndroidTest.xml for AIDL sensors VTS test
Bug: 241174366
Test: run VtsAidlHalSensorsTargetTest, and verify Android app
can receive sensor data after test runs
Change-Id: Ie372f74f3a52decce592181c7d65624f8ec03ed1
(cherry picked from commit 8492dab99d59d4a4f171afe295149020759a10ca)
Diffstat (limited to 'sensors')
-rw-r--r-- | sensors/aidl/vts/AndroidTest.xml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sensors/aidl/vts/AndroidTest.xml b/sensors/aidl/vts/AndroidTest.xml new file mode 100644 index 0000000000..99caf28422 --- /dev/null +++ b/sensors/aidl/vts/AndroidTest.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2022 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 VtsAidlHalSensorsTargetTest."> + <option name="test-suite-tag" value="apct" /> + <option name="test-suite-tag" value="apct-native" /> + + <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/> + <target_preparer class="com.android.tradefed.targetprep.StopServicesSetup"/> + + <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer"> + <option name="cleanup" value="true" /> + <option name="push" value="VtsAidlHalSensorsTargetTest->/data/local/tmp/VtsAidlHalSensorsTargetTest" /> + </target_preparer> + + <test class="com.android.tradefed.testtype.GTest" > + <option name="native-test-timeout" value="900000" /> + <option name="runtime-hint" value="300000"/> + <option name="native-test-device-path" value="/data/local/tmp" /> + <option name="module-name" value="VtsAidlHalSensorsTargetTest" /> + </test> +</configuration> |