From eb9f5a30d346bf2f490647b64f7bfccda1516225 Mon Sep 17 00:00:00 2001 From: "craigdh@chromium.org" Date: Thu, 22 Aug 2013 19:46:02 +0000 Subject: [chromedriver] Run tests on stable and beta channel chrome. BUG=274681 TEST=Ran locally Review URL: https://chromiumcodereview.appspot.com/23125011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219079 0039d316-1c4b-4281-b951-d872f2087c98 --- build/android/buildbot/bb_device_steps.py | 5 ++++- build/android/pylib/constants.py | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'build/android') diff --git a/build/android/buildbot/bb_device_steps.py b/build/android/buildbot/bb_device_steps.py index 260ec76..a29e2a1 100755 --- a/build/android/buildbot/bb_device_steps.py +++ b/build/android/buildbot/bb_device_steps.py @@ -124,7 +124,10 @@ def RunChromeDriverTests(_): """Run all the steps for running chromedriver tests.""" bb_annotations.PrintNamedStep('chromedriver_annotation') RunCmd(['chrome/test/chromedriver/run_buildbot_steps.py', - '--android-package=%s' % constants.CHROMIUM_TEST_SHELL_PACKAGE]) + '--android-packages=%s,%s,%s' % + (constants.CHROMIUM_TEST_SHELL_PACKAGE, + constants.CHROME_STABLE_PACKAGE, + constants.CHROME_BETA_PACKAGE)]) def InstallApk(options, test, print_step=False): """Install an apk to all phones. diff --git a/build/android/pylib/constants.py b/build/android/pylib/constants.py index b519282..732c937 100644 --- a/build/android/pylib/constants.py +++ b/build/android/pylib/constants.py @@ -18,6 +18,9 @@ CHROME_PACKAGE = 'com.google.android.apps.chrome' CHROME_ACTIVITY = 'com.google.android.apps.chrome.Main' CHROME_DEVTOOLS_SOCKET = 'chrome_devtools_remote' +CHROME_STABLE_PACKAGE = 'com.android.chrome' +CHROME_BETA_PACKAGE = 'com.chrome.beta' + CHROME_TESTS_PACKAGE = 'com.google.android.apps.chrome.tests' LEGACY_BROWSER_PACKAGE = 'com.google.android.browser' -- cgit v1.1