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

Side by Side Diff: build/android/buildbot/bb_device_steps.py

Issue 24198012: [chromedriver] Fix typo in android chromedriver buildbot script. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import collections 6 import collections
7 import glob 7 import glob
8 import hashlib 8 import hashlib
9 import multiprocessing 9 import multiprocessing
10 import os 10 import os
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 143
144 def RunChromeDriverTests(options): 144 def RunChromeDriverTests(options):
145 """Run all the steps for running chromedriver tests.""" 145 """Run all the steps for running chromedriver tests."""
146 bb_annotations.PrintNamedStep('chromedriver_annotation') 146 bb_annotations.PrintNamedStep('chromedriver_annotation')
147 RunCmd(['chrome/test/chromedriver/run_buildbot_steps.py', 147 RunCmd(['chrome/test/chromedriver/run_buildbot_steps.py',
148 '--android-packages=%s,%s,%s' % 148 '--android-packages=%s,%s,%s' %
149 (constants.PACKAGE_INFO['chromium_test_shell'].package, 149 (constants.PACKAGE_INFO['chromium_test_shell'].package,
150 constants.PACKAGE_INFO['chrome_stable'].package, 150 constants.PACKAGE_INFO['chrome_stable'].package,
151 constants.PACKAGE_INFO['chrome_beta'].package), 151 constants.PACKAGE_INFO['chrome_beta'].package),
152 '--revision=%s' % _GetRevision(options), 152 '--revision=%s' % _GetRevision(options),
153 '--update_log']) 153 '--update-log'])
154 154
155 def InstallApk(options, test, print_step=False): 155 def InstallApk(options, test, print_step=False):
156 """Install an apk to all phones. 156 """Install an apk to all phones.
157 157
158 Args: 158 Args:
159 options: options object 159 options: options object
160 test: An I_TEST namedtuple 160 test: An I_TEST namedtuple
161 print_step: Print a buildbot step 161 print_step: Print a buildbot step
162 """ 162 """
163 if print_step: 163 if print_step:
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 setattr(options, 'target', options.factory_properties.get('target', 'Debug')) 498 setattr(options, 'target', options.factory_properties.get('target', 'Debug'))
499 if options.coverage_bucket: 499 if options.coverage_bucket:
500 setattr(options, 'coverage_dir', 500 setattr(options, 'coverage_dir',
501 os.path.join(CHROME_OUT_DIR, options.target, 'coverage')) 501 os.path.join(CHROME_OUT_DIR, options.target, 'coverage'))
502 502
503 MainTestWrapper(options) 503 MainTestWrapper(options)
504 504
505 505
506 if __name__ == '__main__': 506 if __name__ == '__main__':
507 sys.exit(main(sys.argv)) 507 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698