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 TIME = 'MEDIUM' 14 TEST_CATEGORY = 'General' 15 TEST_CLASS = 'audio' 16 TEST_TYPE = 'client' 17 JOB_RETRIES = 2 18 BUG_TEMPLATE = { 19 'owner': 'rohitbm (a] chromium.org', 20 'labels': ['OS-Chrome'], 21 'components': ['OS>Kernel>Audio'], 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