blob: ae911c857d84b3704e0e651ee33f047930e7ac1a [file] [log] [blame]
# Copyright 2018 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from autotest_lib.server import utils
NAME = "audio_AudioBasicHotwording.suspend"
METADATA = {
"contacts": ["chromeos-audio-sw@google.com"],
"bug_component": "b:875558",
"criteria": "This test will fail if the captured audio after hotword does not match the original file",
"doc" : "Tests hotwording function after suspend"
}
TEST_TYPE = "server"
#ATTRIBUTES = "suite:audio_advanced"
DEPENDENCIES = "audio_box, hotwording, chameleon_state:WORKING"
JOB_RETRIES = 1
args_dict = utils.args_to_dict(args)
chameleon_args = hosts.CrosHost.get_chameleon_arguments(args_dict)
def run(machine):
host = hosts.create_host(machine, chameleon_args=chameleon_args)
job.run_test("audio_AudioBasicHotwording", host=host, suspend=True)
parallel_simple(run, machines)