1# Copyright 2018 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 = "louiscollard, apronin" 8NAME = "firmware_Cr50VirtualNVRamServer" 9TIME = "SHORT" 10TEST_CATEGORY = "Functional" 11TEST_CLASS = "firmware" 12TEST_TYPE = "server" 13ATTRIBUTES = "suite:faft_cr50_prepvt" 14JOB_RETRIES = 1 15 16DOC = """ 17This test clears the TPM if necessary, the runs a client side test that checks 18Virtual NVRAM functionality in cr50. Finally, it clears the TPM again. 19Every time the TPM is cleared, the system is rebooted. 20""" 21 22if 'args_dict' not in locals(): 23 args_dict = {} 24 25args_dict.update(utils.args_to_dict(args)) 26 27def run_test(machine): 28 host = hosts.create_host(machine) 29 job.run_test('firmware_Cr50VirtualNVRamServer', host=host) 30 31parallel_simple(run_test, machines) 32