xref: /aosp_15_r20/external/autotest/server/site_tests/bluetooth_AdapterQuickHealth/control.AVL (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1# Copyright 2019 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5from autotest_lib.server import utils
6from autotest_lib.server.cros.bluetooth.bluetooth_test_version_control\
7        import test_version_setup
8
9AUTHOR = 'chromeos-bluetooth'
10NAME = 'bluetooth_AdapterQuickHealth.AVL'
11PURPOSE = ('Package of Bluetooth quick health tests')
12CRITERIA = 'Pass all health test'
13ATTRIBUTES = 'suite:bluetooth_qualification'
14TIME = 'LONG' # Takes ~1 hour on kukui
15TEST_CATEGORY = 'Functional'
16TEST_CLASS = 'bluetooth'
17TEST_TYPE = 'server'
18DEPENDENCIES = 'bluetooth, working_bluetooth_btpeer:2'
19PY_VERSION = 3
20
21DOC = """
22    The AVL test run a subset of tests in quick health.
23    Tests included here should be very robust and stable.
24    """
25
26args_dict = utils.args_to_dict(args)
27
28def run(machine):
29    if not test_version_setup():
30        return
31
32    host = hosts.create_host(machine)
33    job.run_test('bluetooth_AdapterQuickHealth', host=host,
34                 num_iterations=1, args_dict=args_dict,
35                 flag='AVL')
36
37parallel_simple(run, machines)
38