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

Unified Diff: build/android/buildbot/bb_device_steps.py

Issue 18514008: Relands test_runner.py, updates buildbot scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moves test_suite option back into gtest only Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/adb_install_apk.py ('k') | build/android/pylib/browsertests/dispatch.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/buildbot/bb_device_steps.py
diff --git a/build/android/buildbot/bb_device_steps.py b/build/android/buildbot/bb_device_steps.py
index 720c69f30bde5182cc3124ae718b0333413596c3..74943b49f4459da08c0b9e92589dda4bcd3820e9 100755
--- a/build/android/buildbot/bb_device_steps.py
+++ b/build/android/buildbot/bb_device_steps.py
@@ -100,7 +100,7 @@ def RebootDevices():
def RunTestSuites(options, suites):
- """Manages an invocation of run_tests.py.
+ """Manages an invocation of test_runner.py for gtests.
Args:
options: options object.
@@ -113,13 +113,13 @@ def RunTestSuites(options, suites):
args.append('--tool=asan')
for suite in suites:
buildbot_report.PrintNamedStep(suite.name)
- cmd = ['build/android/run_tests.py', '-s', suite.name] + args
+ cmd = ['build/android/test_runner.py', 'gtest', '-s', suite.name] + args
if suite.is_suite_exe:
cmd.append('--exe')
RunCmd(cmd)
def RunBrowserTestSuite(options):
- """Manages an invocation of run_browser_tests.py.
+ """Manages an invocation of test_runner.py for content_browsertests.
Args:
options: options object.
@@ -130,7 +130,7 @@ def RunBrowserTestSuite(options):
if options.asan:
args.append('--tool=asan')
buildbot_report.PrintNamedStep(constants.BROWSERTEST_SUITE_NAME)
- RunCmd(['build/android/run_browser_tests.py'] + args)
+ RunCmd(['build/android/test_runner.py', 'content_browsertests'] + args)
def RunChromeDriverTests(_):
"""Run all the steps for running chromedriver tests."""
@@ -156,7 +156,7 @@ def InstallApk(options, test, print_step=False):
def RunInstrumentationSuite(options, test):
- """Manages an invocation of run_instrumentaiton_tests.py.
+ """Manages an invocation of test_runner.py for instrumentation tests.
Args:
options: options object
@@ -183,7 +183,7 @@ def RunInstrumentationSuite(options, test):
if test.extra_flags:
args.extend(test.extra_flags)
- RunCmd(['build/android/run_instrumentation_tests.py'] + args)
+ RunCmd(['build/android/test_runner.py', 'instrumentation'] + args)
def RunWebkitLint(target):
« no previous file with comments | « build/android/adb_install_apk.py ('k') | build/android/pylib/browsertests/dispatch.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698