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

Unified Diff: chrome/test/chromedriver/run_buildbot_steps.py

Issue 23125011: [chromedriver] Run tests on stable and beta channel chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: switch to single list Created 7 years, 4 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 | « build/android/pylib/constants.py ('k') | chrome/test/chromedriver/test/run_all_tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/run_buildbot_steps.py
diff --git a/chrome/test/chromedriver/run_buildbot_steps.py b/chrome/test/chromedriver/run_buildbot_steps.py
index af4a10b811e973453489b3abd36791f6399e335a..2b1765dbb32e179c6d8e6c08ce45e5550f799647 100755
--- a/chrome/test/chromedriver/run_buildbot_steps.py
+++ b/chrome/test/chromedriver/run_buildbot_steps.py
@@ -178,18 +178,19 @@ def WaitForLatestSnapshot(revision):
def main():
parser = optparse.OptionParser()
parser.add_option(
- '', '--android-package',
- help='Application package name, if running tests on Android.')
+ '', '--android-packages',
+ help='Comma separated list of application package names, '
+ 'if running tests on Android.')
parser.add_option(
'-r', '--revision', type='string', default=None,
help='Chromium revision')
options, _ = parser.parse_args()
- if not options.android_package:
+ if not options.android_packages:
KillChromes()
CleanTmpDir()
- if options.android_package:
+ if options.android_packages:
Download()
else:
if not options.revision:
@@ -204,12 +205,12 @@ def main():
sys.executable,
os.path.join(_THIS_DIR, 'test', 'run_all_tests.py'),
]
- if options.android_package:
- cmd.append('--android-package=' + options.android_package)
+ if options.android_packages:
+ cmd.append('--android-packages=' + options.android_packages)
passed = (util.RunCommand(cmd) == 0)
- if not options.android_package and passed:
+ if not options.android_packages and passed:
MaybeRelease(options.revision)
« no previous file with comments | « build/android/pylib/constants.py ('k') | chrome/test/chromedriver/test/run_all_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698