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