| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import dircache, logging, os, utils, time | 5 import dircache, logging, os, time |
| 6 from autotest_lib.client.bin import test, utils | 6 from autotest_lib.client.bin import test, utils |
| 7 from autotest_lib.client.common_lib import error | 7 from autotest_lib.client.common_lib import error |
| 8 | 8 |
| 9 TPM_TSS_VERSION = "1.2" | 9 TPM_TSS_VERSION = "1.2" |
| 10 TPM_OWNER_SECRET = "owner123" | 10 TPM_OWNER_SECRET = "owner123" |
| 11 TPM_SRK_SECRET = "srk123" | 11 TPM_SRK_SECRET = "srk123" |
| 12 | 12 |
| 13 # These tests fail on the most important dogfood hardware (as of 10/10/10). | 13 # These tests fail on the most important dogfood hardware (as of 10/10/10). |
| 14 | 14 |
| 15 excluded_tests = [ | 15 excluded_tests = [ |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 | 110 |
| 111 logging.info('Considered %d tests.' % num_tests_considered) | 111 logging.info('Considered %d tests.' % num_tests_considered) |
| 112 logging.info('-- Passed: %d' % num_tests_passed) | 112 logging.info('-- Passed: %d' % num_tests_passed) |
| 113 logging.info('-- Failed: %d' % num_tests_failed) | 113 logging.info('-- Failed: %d' % num_tests_failed) |
| 114 logging.info('-- Not Implemented: %d' % num_tests_not_implemented) | 114 logging.info('-- Not Implemented: %d' % num_tests_not_implemented) |
| 115 logging.info('-- Not Applicable: %d' % num_tests_not_applicable) | 115 logging.info('-- Not Applicable: %d' % num_tests_not_applicable) |
| 116 | 116 |
| 117 if num_tests_failed != 0: | 117 if num_tests_failed != 0: |
| 118 raise error.TestError('Test failed (%d failures)' % | 118 raise error.TestError('Test failed (%d failures)' % |
| 119 num_tests_failed) | 119 num_tests_failed) |
| OLD | NEW |