blob: 8b254a85f125196812378f6d3b75a2485b47d7d3 [file] [log] [blame]
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
from autotest_lib.client.bin import test, utils
from autotest_lib.client.cros import tpm
class hardware_TPM(test.test):
version = 1
preserve_srcdir = True
def setup(self):
os.chdir(self.srcdir)
utils.make('clean')
utils.make('all')
def run_once(self, suite):
tpm.run_trousers_tests('%s/src/tests/%s' % (self.bindir, suite))