• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5from autotest_lib.server import utils
6
7AUTHOR = "frankhu@chromium.org"
8NAME = "enterprise_CFM_SiSFwUpdater"
9TIME = "SHORT"
10TEST_CATEGORY = "Functional"
11TEST_CLASS = "enterprise"
12TEST_TYPE = "server"
13JOB_RETRIES = 3
14DEPENDENCIES = "mimo"
15
16DOC = """
17This test first flash the older version SiS firmware to the Mimo and then power
18cycle the corresponding usb port. This should triger the udev rule to invoke
19the SiS FW updater to flash the latest FW to Mimo. This is validated by running
20the updater again and checking the log.
21"""
22
23args_dict = utils.args_to_dict(args)
24
25def run_test(machine):
26    host = hosts.create_host(machine, servo_args=None)
27    job.run_test(NAME, host=host)
28
29parallel_simple(run_test, machines)
30