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

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

Issue 12386034: Android: Run content_browsertests on the experimental bot (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disabling IndexedDBBrowserTest.ConnectionsClosedOnTabClose Created 7 years, 10 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/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 3acc4c3134a8c93cbbd4164704dbceaeb296a44e..e33046e65f1d22a41cbb694f01475a24120fb539 100755
--- a/build/android/buildbot/bb_device_steps.py
+++ b/build/android/buildbot/bb_device_steps.py
@@ -137,6 +137,19 @@ def RunTestSuites(options, suites):
buildbot_report.PrintNamedStep(suite)
RunCmd(['build/android/run_tests.py', '-s', suite] + args)
+def RunBrowserTestSuite(options):
+ """Manages an invocation of run_browser_tests.py.
+
+ Args:
+ options: options object.
+ """
+ args = ['--verbose']
+ if options.target == 'Release':
+ args.append('--release')
+ if options.asan:
+ args.append('--tool=asan')
+ buildbot_report.PrintNamedStep(constants.BROWSERTEST_SUITE_NAME)
+ RunCmd(['build/android/run_browser_tests.py'] + args)
def InstallApk(options, test, print_step=False):
"""Install an apk to all phones.
@@ -258,6 +271,7 @@ def MainTestWrapper(options):
if options.experimental:
RunTestSuites(options, gtest_config.EXPERIMENTAL_TEST_SUITES)
+ RunBrowserTestSuite(options)
# Print logcat, kill logcat monitor
buildbot_report.PrintNamedStep('logcat_dump')
« no previous file with comments | « no previous file | build/android/pylib/browsertests/dispatch.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698