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

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: Don't wrap with bash for presubmit testing. CQ has no android_tools directory. 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') | 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 0743b535bf39b3fe5de715e7395cfc7bba2b5220..4bc095d809d5c3914e100f103b940f57443d42eb 100755
--- a/build/android/buildbot/bb_device_steps.py
+++ b/build/android/buildbot/bb_device_steps.py
@@ -134,8 +134,11 @@ 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)
+ 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 +276,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698