1# 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,[email protected]" 6NAME = "audio_essential" 7PURPOSE = "Suite for testing essential audio functionalities." 8 9TIME = "MEDIUM" 10TEST_CATEGORY = "General" 11TEST_CLASS = "suite" 12TEST_TYPE = "Server" 13 14DOC = """ 15Audio tests that cover audio functionalities that are essential to the 16ChromeOS audio stack. 17 18Generally the tests require chameleon and audio boards connected. 19Together with DUT and jack plugger bundled in audio-box environment for 20end-to-end testing. Details on go/audioboard, go/audiobox, go/ab-care-and-feed 21go/chameleon-audio-conf and go/cras-test-green. 22 23The audio boxes set up for this suites shouldn't be with USB audio peripherals 24as there is a known issue that USB chameleon connection might cause 25interference. 26 27""" 28 29import common 30from autotest_lib.server.cros.dynamic_suite import dynamic_suite 31 32# Values specified in this bug template will override default values when 33# filing bugs on tests that are a part of this suite. If left unspecified 34# the bug filer will fallback to it's defaults. 35_BUG_TEMPLATE = { 36 'components': ['OS>Kernel>Audio'], 37 'owner': '[email protected]', 38 'status': None, 39 'summary': None, 40 'title': None, 41 'cc': ['[email protected]', '[email protected]', 42 '[email protected]'] 43} 44 45args_dict['name'] = NAME 46args_dict['job'] = job 47args_dict['add_experimental'] = True 48args_dict['max_runtime_mins'] = 120 49args_dict['bug_template'] = _BUG_TEMPLATE 50 51dynamic_suite.reimage_and_run(**args_dict) 52