blob: 144f6f88af8539f4a5d2664bbb692d957d5fb50e [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."
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 = "SHORT"
TEST_CATEGORY = "Functional"
TEST_CLASS = "power"
TEST_TYPE = "client"
SUITE = "bvt-perbuild, qav"
DOC = """
This test verifies that the system will not suspend while audio is playing.
"""
job.run_test("power_AudioDetector")