blob: 015cbaf5c212abfd0d2945cb0b73dd0102ae52a9 [file] [log] [blame]
En-Shuo Hsu06c071b2019-11-12 21:04:03 +08001# Copyright (c) 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
5AUTHOR = "The Chromium OS Authors,chromeos-audio-sw@google.com"
6NAME = "audio_basic"
7PURPOSE = "Suite for testing basic audio functionalities across devices."
8
9TIME = "MEDIUM"
10TEST_CATEGORY = "General"
11TEST_CLASS = "suite"
12TEST_TYPE = "Server"
13
14DOC = """
15Audio tests that cover basic audio functionalities of CRAS for different
16devices.
17
18The tests require chameleon and audio boards connected. For stability, all
19cables should be plugged constantly without the jack plugger involved.
20
21USB audio shouldn't be configured with other audio devices like 3.5mm headset
22as there is a known issue that USB chameleon connection might cause
23interference.
24
25"""
26
27import common
28from autotest_lib.server.cros.dynamic_suite import dynamic_suite
29
30# Values specified in this bug template will override default values when
31# filing bugs on tests that are a part of this suite. If left unspecified
32# the bug filer will fallback to it's defaults.
33_BUG_TEMPLATE = {
34 'components': ['OS>Kernel>Audio'],
35 'owner': 'cychiang@chromium.org',
36 'status': None,
37 'summary': None,
38 'title': None,
39 'cc': ['kalin@chromium.org', 'conradlo@chromium.org',
40 'chromeos-audio-bugs@google.com']
41}
42
43args_dict['name'] = NAME
44args_dict['job'] = job
45args_dict['add_experimental'] = True
46args_dict['max_runtime_mins'] = 120
47args_dict['bug_template'] = _BUG_TEMPLATE
48
49dynamic_suite.reimage_and_run(**args_dict)