| 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 os | 5 import os |
| 6 | 6 |
| 7 from autotest_lib.client.bin import test, utils | 7 from autotest_lib.client.bin import test, utils |
| 8 from autotest_lib.client.common_lib import error | 8 from autotest_lib.client.common_lib import error |
| 9 | 9 |
| 10 class firmware_VbootCrypto(test.test): | 10 class firmware_VbootCrypto(test.test): |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 | 181 |
| 182 def run_splicing(self): | 182 def run_splicing(self): |
| 183 success = self.__splicing_tests() | 183 success = self.__splicing_tests() |
| 184 if not success: | 184 if not success: |
| 185 raise error.TestFail("Splicing Tests Failed") | 185 raise error.TestFail("Splicing Tests Failed") |
| 186 | 186 |
| 187 | 187 |
| 188 def run_once(self, suite='crypto'): | 188 def run_once(self, suite='crypto'): |
| 189 self.__generate_test_cases() | 189 self.__generate_test_cases() |
| 190 getattr(self, 'run_' + suite)() | 190 getattr(self, 'run_' + suite)() |
| OLD | NEW |