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

Side by Side Diff: build/android/pylib/gtest/test_runner.py

Issue 12378048: [Android] Switch instrumentation tests to the new shard/runner paradigm. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add retries to the end of the queue instead of the beginning Created 7 years, 9 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 8
9 from pylib import android_commands 9 from pylib import android_commands
10 from pylib import constants 10 from pylib import constants
11 from pylib import perf_tests_helper 11 from pylib import perf_tests_helper
12 from pylib.android_commands import errors 12 from pylib.android_commands import errors
13 from pylib.base import new_base_test_runner as base_test_runner 13 from pylib.base import base_test_runner
14 from pylib.base import test_result 14 from pylib.base import test_result
15 from pylib.utils import run_tests_helper 15 from pylib.utils import run_tests_helper
16 16
17 import test_package_apk 17 import test_package_apk
18 import test_package_executable 18 import test_package_executable
19 19
20 20
21 def _GetDataFilesForTestSuite(test_suite_basename): 21 def _GetDataFilesForTestSuite(test_suite_basename):
22 """Returns a list of data files/dirs needed by the test suite. 22 """Returns a list of data files/dirs needed by the test suite.
23 23
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 self.LaunchChromeTestServerSpawner() 282 self.LaunchChromeTestServerSpawner()
283 self.tool.SetupEnvironment() 283 self.tool.SetupEnvironment()
284 284
285 #override 285 #override
286 def TearDown(self): 286 def TearDown(self):
287 """Cleans up the test enviroment for the test suite.""" 287 """Cleans up the test enviroment for the test suite."""
288 self.tool.CleanUpEnvironment() 288 self.tool.CleanUpEnvironment()
289 if self._cleanup_test_files: 289 if self._cleanup_test_files:
290 self.adb.RemovePushedFiles() 290 self.adb.RemovePushedFiles()
291 super(TestRunner, self).TearDown() 291 super(TestRunner, self).TearDown()
OLDNEW
« no previous file with comments | « build/android/pylib/gtest/dispatch.py ('k') | build/android/pylib/host_driven/python_test_base.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698