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 = "emaxx, apronin" 6NAME = "platform_CryptohomeTpmLiveTestServer" 7TIME = "SHORT" 8TEST_CATEGORY = "Functional" 9TEST_CLASS = "platform" 10TEST_TYPE = "server" 11ATTRIBUTES = "suite:bvt-perbuild" 12JOB_RETRIES = 1 13 14DOC = """ 15This test clears the TPM if necessary, kicks off a client side test that runs 16cryptohome's TPM live tests and clears the TPM again. Every time the TPM is 17cleared, the system is rebooted. 18""" 19 20def run_test(machine): 21 host = hosts.create_host(machine) 22 job.run_test('platform_CryptohomeTpmLiveTestServer', host=host) 23 24parallel_simple(run_test, machines) 25