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

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

Issue 12758002: Add android buildbot support for exe tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: syntax fix 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/android/buildbot/bb_run_bot.py » ('j') | build/android/pylib/gtest/dispatch.py » ('J')
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 0743b535bf39b3fe5de715e7395cfc7bba2b5220..b1778ad9f5fbd54b1ca4a710b41074b2b8677889 100755
--- a/build/android/buildbot/bb_device_steps.py
+++ b/build/android/buildbot/bb_device_steps.py
@@ -134,8 +134,12 @@ def RunTestSuites(options, suites):
if options.asan:
args.append('--tool=asan')
for suite in suites:
- buildbot_report.PrintNamedStep(suite)
- RunCmd(['build/android/run_tests.py', '-s', suite] + args)
+ for suite in suites:
+ buildbot_report.PrintNamedStep(suite.name)
+ cmd = ['build/android/run_tests.py', '-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.
@@ -273,7 +277,10 @@ def MainTestWrapper(options):
for test in INSTRUMENTATION_TESTS.itervalues():
RunInstrumentationSuite(options, test)
if 'webkit' in options.test_filter:
- RunTestSuites(options, ['webkit_unit_tests', 'TestWebKitAPI'])
+ RunTestSuites(options, [
+ gtest_config.Apk('webkit_unit_tests'),
+ gtest_config.Apk('TestWebKitAPI'),
+ ])
RunWebkitLint(options.target)
if 'webkit_layout' in options.test_filter:
RunWebkitLayoutTests(options)
« no previous file with comments | « no previous file | build/android/buildbot/bb_run_bot.py » ('j') | build/android/pylib/gtest/dispatch.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698