• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2020 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 = 'The Chromium OS Audio Team, chromeos-audio@google.com'
6NAME = 'audio_CrasGetNodes'
7PURPOSE = 'Test that dbus GetNodes API of CRAS is working.'
8CRITERIA = '''
9Check if the values of active, volume, and max supported channels of ALSA
10loopback input and output nodes are correct by dbus GetNodes API.
11'''
12ATTRIBUTES = 'suite:audio'
13TIME = 'SHORT'
14TEST_CATEGORY = 'Functional'
15TEST_CLASS = 'audio'
16TEST_TYPE = 'client'
17DEPENDENCIES = ''
18PY_VERSION = 3
19
20DOC = '''
21Test that dbus GetNodes API of CRAS is working.
22
23NOTE: For this test kernel config is required to have CONFIG_SND_ALOOP=m which
24makes snd-aloop is manually probeable.
25'''
26
27job.run_test('audio_CrasGetNodes')
28