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 5 AUTHOR = "louiscollard, apronin" 6 NAME = "firmware_Cr50VirtualNVRamServer" 7 TIME = "SHORT" 8 TEST_CATEGORY = "Functional" 9 TEST_CLASS = "firmware" 10 TEST_TYPE = "server" 11 ATTRIBUTES = "suite:faft_cr50_prepvt" 12 JOB_RETRIES = 1 13 14 DOC = """ 15 This test clears the TPM if necessary, the runs a client side test that checks 16 Virtual NVRAM functionality in cr50. Finally, it clears the TPM again. 17 Every time the TPM is cleared, the system is rebooted. 18 """ 19 20 def run_test(machine): 21 host = hosts.create_host(machine) 22 job.run_test('firmware_Cr50VirtualNVRamServer', host=host) 23 24 parallel_simple(run_test, machines)