• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2022 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
6
7AUTHOR = 'chromeos-bluetooth'
8NAME = 'bluetooth_AdapterQRHealth.qr_a2dp_test'
9PURPOSE = ('Check Quality Report function working well with A2DP '
10           'streaming')
11CRITERIA = 'Pass all the Bluetooth log checking'
12ATTRIBUTES = 'suite:bluetooth, suite:bluetooth_flaky'
13TIME = 'SHORT'  # Approximately 2 mins
14TEST_CATEGORY = 'Functional'
15TEST_CLASS = 'bluetooth'
16TEST_TYPE = 'server'
17DEPENDENCIES = 'bluetooth, working_bluetooth_btpeer:1'
18PY_VERSION = 3
19
20DOC = """
21        Checking if the Quality Report function works well with the
22        A2DP streaming.
23    """
24
25args_dict = utils.args_to_dict(args)
26
27def run(machine):
28    host = hosts.create_host(machine)
29    job.run_test('bluetooth_AdapterQRHealth', host=host, num_iterations=1,
30                 args_dict=args_dict, test_name=NAME.split('.')[1])
31
32parallel_simple(run, machines)
33