blob: 45994200cddc0fe25bde4e8416f4f1c773385427 [file] [log] [blame]
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# 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
AUTHOR = "chromeos-chameleon"
NAME = "audio_AudioTestAssumptionCheck.suspend"
PURPOSE = "Functionality check for and suspend."
This test will fail if target fail to suspend or wake up after a suspension.
ATTRIBUTES = "suite:audio_advanced"
TEST_CATEGORY = "Functional"
TEST_CLASS = "audio"
TEST_TYPE = "server"
DEPENDENCIES = 'chameleon, audio_board'
DOC = """
This test remotely tests if suspend, audio tests rely on, work correctly.
def run(machine):
host = hosts.create_host(machine)
# The suspend_only flag is for crbug:978593, which causes the check to
# always fail. however, we still want to check the suspend operation as it
# also potentially fails the audio tests. This should be removed once the
# blocker is fixed
job.run_test("audio_AudioTestAssumptionCheck", host=host, suspend_only=True)
parallel_simple(run, machines)