Home | History | Annotate | Download | only in enterprise_CFM_DualSpeaker
      1 # Copyright 2017 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 from autotest_lib.server import utils
      6 
      7 AUTHOR = "mzhuo (a] chromium.org"
      8 NAME = "enterprise_CFM_DualSpeaker"
      9 TIME = "SHORT"
     10 TEST_CATEGORY = "Functional"
     11 TEST_CLASS = "enterprise"
     12 TEST_TYPE = "server"
     13 ATTRIBUTES = "suite:hotrod, suite:hotrod-release"
     14 DEPENDENCIES = "dual_jabra"
     15 JOB_RETRIES = 1
     16 
     17 DOC = """
     18 This test performs a set of sanity operations against a dual jabra setup.
     19 It verifies the volume levels and mixer/microphone mute states are in sync
     20 between the dual speakers as well as the CFM.
     21 """
     22 
     23 args_dict = utils.args_to_dict(args)
     24 servo_args = hosts.CrosHost.get_servo_arguments(args_dict)
     25 
     26 def run_test(machine):
     27     host = hosts.create_host(machine, servo_args=servo_args)
     28     job.run_test('enterprise_CFM_DualSpeaker', host=host)
     29 
     30 parallel_simple(run_test, machines)
     31