OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium 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 glob | 5 import glob |
6 import logging | 6 import logging |
7 import os | 7 import os |
8 import sys | 8 import sys |
9 | 9 |
10 from base_test_runner import BaseTestRunner | 10 from base_test_runner import BaseTestRunner |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 | 326 |
327 def TearDown(self): | 327 def TearDown(self): |
328 """Cleans up the test enviroment for the test suite.""" | 328 """Cleans up the test enviroment for the test suite.""" |
329 self.tool.CleanUpEnvironment() | 329 self.tool.CleanUpEnvironment() |
330 if self.test_package.cleanup_test_files: | 330 if self.test_package.cleanup_test_files: |
331 self.adb.RemovePushedFiles() | 331 self.adb.RemovePushedFiles() |
332 if self.dump_debug_info: | 332 if self.dump_debug_info: |
333 self.dump_debug_info.StopRecordingLog() | 333 self.dump_debug_info.StopRecordingLog() |
334 if self.test_package.performance_test: | 334 if self.test_package.performance_test: |
335 self.adb.TearDownPerformanceTest() | 335 self.adb.TearDownPerformanceTest() |
| 336 if self.dump_debug_info: |
| 337 self.dump_debug_info.ArchiveNewCrashFiles() |
336 super(SingleTestRunner, self).TearDown() | 338 super(SingleTestRunner, self).TearDown() |
OLD | NEW |