• 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.
4from autotest_lib.server import utils
5
6NAME = "firmware_CsmeFwUpdate"
7AUTHOR = "ChromeOS Team"
8ATTRIBUTES = "suite:faft_bios"
9DEPENDENCIES = "servo_state:WORKING"
10TIME = "SHORT"
11TEST_CATEGORY = "Functional"
12TEST_CLASS = "platform"
13TEST_TYPE = "server"
14JOB_RETRIES = 0
15TEST_CASE_ID = "CSME_UPDATE"
16PY_VERSION = 3
17
18DOC = """
19This test updates the RW section of the current bios with another image which contain
20a differnt ME RW version and verifies if MW firmware udpate happens successfully.
21This is applicable only for systems supporting Intel CSE Lite
22"""
23args_dict = utils.args_to_dict(args)
24servo_args = hosts.CrosHost.get_servo_arguments(args_dict)
25def run(machine):
26    host = hosts.create_host(machine, servo_args=servo_args)
27    job.run_test("firmware_CsmeFwUpdate", host=host, cmdline_args=args, dev_mode = False)
28parallel_simple(run, machines)
29