Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1179)

Side by Side Diff: build/android/pylib/single_test_runner.py

Issue 10777017: Android: further simplication for test runners. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit on comment Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 330
331 def TearDown(self): 331 def TearDown(self):
332 """Cleans up the test enviroment for the test suite.""" 332 """Cleans up the test enviroment for the test suite."""
333 self.tool.CleanUpEnvironment() 333 self.tool.CleanUpEnvironment()
334 if self.test_package.cleanup_test_files: 334 if self.test_package.cleanup_test_files:
335 self.adb.RemovePushedFiles() 335 self.adb.RemovePushedFiles()
336 if self.dump_debug_info: 336 if self.dump_debug_info:
337 self.dump_debug_info.StopRecordingLog() 337 self.dump_debug_info.StopRecordingLog()
338 if self.test_package.performance_test: 338 if self.test_package.performance_test:
339 self.adb.TearDownPerformanceTest() 339 self.adb.TearDownPerformanceTest()
340 if self.dump_debug_info:
341 self.dump_debug_info.ArchiveNewCrashFiles()
340 super(SingleTestRunner, self).TearDown() 342 super(SingleTestRunner, self).TearDown()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698