blob: 5acd983e7de0b3aff704ab0ea5e68e7a48a7000c [file] [log] [blame]
# Copyright (c) 2012 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.
AUTHOR = "sque"
NAME = "power_AudioDetector.10s"
PURPOSE = "Verify the system does not suspend while playing audio."
CRITERIA = """
Fail if any of the following occur:
- The system suspends during audio playback.
- The powerd log does not contain logging to indicate that the audio detector
delayed suspend.
"""
TIME = "FAST"
TEST_CATEGORY = "Functional"
TEST_CLASS = "power"
TEST_TYPE = "client"
# SUITE = "kernel_per-build_regression"
DOC = """
This test verifies that the system will not suspend while audio is playing.
"""
job.run_test('power_AudioDetector', run_time_sec=10)