Home | History | Annotate | Download | only in audio_CrasSanity
      1 # Copyright 2015 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 = 'rohitbm (a] chromium.org, ChromeOS Audio'
      6 NAME = 'audio_CrasSanity'
      7 PURPOSE = 'Performs basic audio check for active streams and crashes'
      8 CRITERIA = '''
      9 Test will fail if 1. cras is not running 2. cras crashes 3. active stream count
     10 does not match.
     11 '''
     12 ATTRIBUTES = "suite:bvt-cq, suite:partners"
     13 SUITE = 'bvt-cq, partners'
     14 TIME = 'MEDIUM'
     15 TEST_CATEGORY = 'General'
     16 TEST_CLASS = 'audio'
     17 TEST_TYPE = 'client'
     18 JOB_RETRIES = 2
     19 BUG_TEMPLATE = {
     20     'owner': 'rohitbm (a] chromium.org',
     21     'labels': ['Cr-OS-Kernel-Audio', 'OS-Chrome']
     22 }
     23 
     24 DOC = '''
     25 Test checks for basic audio sanity by checking cras status, crashes and active
     26 streams.
     27 '''
     28 
     29 job.run_test('audio_CrasSanity')
     30