Home | History | Annotate | Download | only in power_AudioDetector
      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 
      5 AUTHOR = "sque"
      6 NAME = "power_AudioDetector"
      7 PURPOSE = "Verify the system does not suspend while playing audio."
      8 CRITERIA = """
      9 Fail 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 """
     14 TIME = "SHORT"
     15 TEST_CATEGORY = "Functional"
     16 TEST_CLASS = "power"
     17 TEST_TYPE = "client"
     18 ATTRIBUTES = "suite:bvt-perbuild"
     19 SUITE = "bvt-perbuild"
     20 
     21 DOC = """
     22 This test verifies that the system will not suspend while audio is playing.
     23 """
     24 
     25 job.run_test("power_AudioDetector")
     26