Add a config with test skipping for SDK < 33
Test: atest VtsHalBluetoothAudioTargetTest Bug: 288598199 Change-Id: I563c8d50b186f2da2cf077dc3631808f8c2a9eee
This commit is contained in:
parent
af52e698da
commit
00dede017f
3 changed files with 40 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
|||
# Bug component: 27441
|
||||
|
||||
include platform/packages/modules/Bluetooth:/OWNERS
|
||||
|
||||
cheneyni@google.com
|
||||
aliceypkuo@google.com
|
||||
quocbaodo@google.com
|
||||
|
|
|
@ -25,6 +25,7 @@ cc_test {
|
|||
"libcutils",
|
||||
"libfmq",
|
||||
],
|
||||
test_config: "VtsHalBluetoothAudioTargetTest.xml",
|
||||
test_suites: [
|
||||
"general-tests",
|
||||
"vts",
|
||||
|
|
36
bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.xml
Normal file
36
bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.xml
Normal 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>
|
Loading…
Reference in a new issue