• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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'''
12ATTRIBUTES = "suite:bvt-cq, suite:partners"
13TIME = 'MEDIUM'
14TEST_CATEGORY = 'General'
15TEST_CLASS = 'audio'
16TEST_TYPE = 'client'
17JOB_RETRIES = 2
18BUG_TEMPLATE = {
19    'owner': 'rohitbm@chromium.org',
20    'labels': ['OS-Chrome'],
21    'components': ['OS>Kernel>Audio'],
22}
23
24DOC = '''
25Test checks for basic audio sanity by checking cras status, crashes and active
26streams.
27'''
28
29job.run_test('audio_CrasSanity')
30