blob: 1ff146bcdc1202e281f1f56a9adefaa74da620ed [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"
PURPOSE = "Verify the system does not suspend while playing audio."
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.
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)