Merge "Add a config with test skipping for SDK < 33" into android13-tests-dev am: 632438dc9e

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2787019

Change-Id: I4b3a68c7981439d9300edb7a96264a1aed735bd4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-10-19 03:46:00 +00:00 committed by Automerger Merge Worker
commit e72b2f485f
3 changed files with 40 additions and 1 deletions

View file

@ -1,4 +1,6 @@
# Bug component: 27441
include platform/packages/modules/Bluetooth:/OWNERS
cheneyni@google.com
aliceypkuo@google.com
quocbaodo@google.com

View file

@ -25,6 +25,7 @@ cc_test {
"libcutils",
"libfmq",
],
test_config: "VtsHalBluetoothAudioTargetTest.xml",
test_suites: [
"general-tests",
"vts",

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2023 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 VtsHalBluetoothAudioTargetTest.">
<option name="test-suite-tag" value="apct" />
<option name="test-suite-tag" value="apct-native" />
<object type="module_controller" class="com.android.tradefed.testtype.suite.module.ShippingApiLevelModuleController">
<!-- Skips test module if ro.product.first_api_level < 33. -->
<option name="min-api-level" value="33" />
</object>
<target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer">
</target_preparer>
<target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
<option name="cleanup" value="true" />
<option name="push" value="VtsHalBluetoothAudioTargetTest->/data/local/tmp/VtsHalBluetoothAudioTargetTest" />
</target_preparer>
<test class="com.android.tradefed.testtype.GTest" >
<option name="native-test-device-path" value="/data/local/tmp" />
<option name="module-name" value="VtsHalBluetoothAudioTargetTest" />
</test>
</configuration>