Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 632438dc authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents ddb56ed7 db7e3027
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
# Bug component: 27441

include platform/packages/modules/Bluetooth:/OWNERS

cheneyni@google.com
aliceypkuo@google.com
quocbaodo@google.com
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ cc_test {
        "libcutils",
        "libfmq",
    ],
    test_config: "VtsHalBluetoothAudioTargetTest.xml",
    test_suites: [
        "general-tests",
        "vts",
+36 −0
Original line number Diff line number Diff line
<?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>