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
5AUTHOR = 'rohitbm@chromium.org, ChromeOS Audio'
6NAME = 'audio_CrasSanity'
7PURPOSE = 'Performs basic audio check for active streams and crashes'
8CRITERIA = '''
9Test will fail if 1. cras is not running 2. cras crashes 3. active stream count
10does not match.
11'''
12# Temporarily remove the test to unblock PFQ.  See crbug/718171 in detail.
13#ATTRIBUTES = "suite:bvt-cq, suite:partners"
14ATTRIBUTES = "suite:bvt-perbuild"
15TIME = 'MEDIUM'
16TEST_CATEGORY = 'General'
17TEST_CLASS = 'audio'
18TEST_TYPE = 'client'
19JOB_RETRIES = 2
20BUG_TEMPLATE = {
21    'owner': 'vsuley@chromium.org',
22    'labels': ['OS-Chrome'],
23    'components': ['OS>Kernel>Audio'],
24}
25
26DOC = '''
27Test checks for basic audio sanity by checking cras status, crashes and active
28streams.
29'''
30
31job.run_test('audio_CrasSanity')
32