blob: 4d1168b601674e9d4f3925e08c4296413ca76966 [file] [log] [blame]
# Copyright 2023 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from autotest_lib.server import utils
AUTHOR = "mruthven"
NAME = "firmware_GSCUpdatePCR"
METADATA = {
"contacts": ["chromeos-faft@google.com", "mruthven@chromium.org"],
"bug_component": "b:792402", # ChromeOS > Platform > Enablement > Firmware > FAFT
"criteria": "Verify Update PCR"
}
ATTRIBUTES = "suite:faft_gsc_nightly, suite:faft_cr50_prepvt, suite:faft_cr50_pvt"
TIME = "SHORT"
TEST_TYPE = "server"
DEPENDENCIES = "servo_state:WORKING"
DOC = """Verify Update PCR"""
if 'args_dict' not in locals():
args_dict = {}
args_dict.update(utils.args_to_dict(args))
servo_args = hosts.CrosHost.get_servo_arguments(args_dict)
def run(machine):
host = hosts.create_host(machine, servo_args=servo_args)
job.run_test("firmware_GSCUpdatePCR", host=host, cmdline_args=args)
parallel_simple(run, machines)