• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5AUTHOR = "sque"
6NAME = "power_AudioDetector"
7PURPOSE = "Verify the system does not suspend while playing audio."
8CRITERIA = """
9Fail if any of the following occur:
10  - The system suspends during audio playback.
11  - The powerd log does not contain logging to indicate that the audio detector
12    delayed suspend.
13"""
14TIME = "SHORT"
15TEST_CATEGORY = "Functional"
16TEST_CLASS = "power"
17TEST_TYPE = "client"
18ATTRIBUTES = "suite:bvt-perbuild"
19
20DOC = """
21This test verifies that the system will not suspend while audio is playing.
22"""
23
24job.run_test("power_AudioDetector")
25