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

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

Issue 12387097: [Android] Run chromedriver tests on 'Android ChromeDriver Tests (dbg)' bot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/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 e33046e65f1d22a41cbb694f01475a24120fb539..0743b535bf39b3fe5de715e7395cfc7bba2b5220 100755
--- a/build/android/buildbot/bb_device_steps.py
+++ b/build/android/buildbot/bb_device_steps.py
@@ -59,7 +59,7 @@ INSTRUMENTATION_TESTS = dict((suite.name, suite) for suite in [
None),
])
-VALID_TESTS = set(['ui', 'unit', 'webkit', 'webkit_layout'])
+VALID_TESTS = set(['chromedriver', 'ui', 'unit', 'webkit', 'webkit_layout'])
@@ -151,6 +151,13 @@ def RunBrowserTestSuite(options):
buildbot_report.PrintNamedStep(constants.BROWSERTEST_SUITE_NAME)
RunCmd(['build/android/run_browser_tests.py'] + args)
+def RunChromeDriverTests():
+ """Run all the steps for running chromedriver tests."""
+ buildbot_report.PrintNamedStep('chromedriver_annotation')
+ RunCmd(['chrome/test/chromedriver/run_buildbot_steps.py',
+ '--android-package=%s' % constants.CHROMIUM_TEST_SHELL_PACKAGE])
+
+
def InstallApk(options, test, print_step=False):
"""Install an apk to all phones.
@@ -258,6 +265,8 @@ def MainTestWrapper(options):
test_obj = INSTRUMENTATION_TESTS[options.install]
InstallApk(options, test_obj, print_step=True)
+ if 'chromedriver' in options.test_filter:
+ RunChromeDriverTests()
if 'unit' in options.test_filter:
RunTestSuites(options, gtest_config.STABLE_TEST_SUITES)
if 'ui' in options.test_filter:
« 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