Add a config with test skipping for SDK < 33 am: 00dede017f

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

Change-Id: Ibb47a33394c35f0fc99dbe47058c4309b683ac11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Bao Do
2023-07-10 10:04:41 +00:00
committed by Automerger Merge Worker
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>