xref: /aosp_15_r20/external/autotest/server/site_tests/firmware_GSCSetAPROV1/control (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1# Copyright 2022 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 = "mruthven"
6NAME = "firmware_GSCSetAPROV1"
7PURPOSE = "Verify GSC can set the AP RO hash"
8ATTRIBUTES = "suite:faft_cr50_experimental"
9TIME = "SHORT"
10TEST_TYPE = "server"
11DEPENDENCIES = "servo_state:WORKING"
12PY_VERSION = 3
13
14DOC = """
15This test verifies GSC can set and clear the AP RO hash when the board id type
16is erased.
17"""
18
19from autotest_lib.client.common_lib import error
20from autotest_lib.server import utils
21
22if 'args_dict' not in locals():
23    args_dict = {}
24
25args_dict.update(utils.args_to_dict(args))
26servo_args = hosts.CrosHost.get_servo_arguments(args_dict)
27
28def run(machine):
29    host = hosts.create_host(machine, servo_args=servo_args)
30
31    job.run_test("firmware_GSCSetAPROV1", host=host, cmdline_args=args,
32                 full_args=args_dict)
33
34parallel_simple(run, machines)
35