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