blob: 0e5dedcd07d57fba63f066085020346db93b3af5 [file] [log] [blame]
# Copyright 2023 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
AUTHOR = 'ChromiumOS Platform Engprod team'
NAME = 'tast.audio-e2e-experimental-latency-toolkit'
TIME = 'MEDIUM'
TEST_TYPE = 'Server'
ATTRIBUTES = "suite:audio_advanced"
PY_VERSION = 3
DEPENDENCIES = 'audio_box, audio_latency_toolkit_state:WORKING'
METADATA = {
"contacts": ["crosep-intertech@google.com"],
"bug_component": "b:1280385",
"doc" : "Include experimental latency audio end-to-end tests in Tast"
}
# tast.py uses binaries installed from autotest_server_package.tar.bz2.
REQUIRE_SSP = True
DOC = '''
Run the Tast audio experimental end-to-end tests
'''
from autotest_lib.client.common_lib import utils
from autotest_lib.server import utils as server_utils
def run(machine):
# Get host objects for each device.
host = hosts.create_host(machine)
args_dict = utils.args_to_dict(args)
varslist = []
logging.info(f'Running with args: {args} and varslist: {varslist}')
job.run_test(
'tast',
host=host,
test_exprs=[
'("group:audio_e2e_experimental" && "audio_e2e_experimental_latency_toolkit")'
],
ignore_test_failures=True,
max_run_sec=21600,
command_args=args,
varslist=varslist)
parallel_simple(run, machines)