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

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

Issue 63373003: [chromedriver] Add a WebView shell app for testing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't run the test just yet Created 7 years, 1 month 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 | build/android/pylib/constants.py » ('j') | 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 json 9 import json
10 import multiprocessing 10 import multiprocessing
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 if suite == 'content_browsertests': 147 if suite == 'content_browsertests':
148 cmd.append('--num_retries=1') 148 cmd.append('--num_retries=1')
149 RunCmd(cmd) 149 RunCmd(cmd)
150 150
151 151
152 def RunChromeDriverTests(options): 152 def RunChromeDriverTests(options):
153 """Run all the steps for running chromedriver tests.""" 153 """Run all the steps for running chromedriver tests."""
154 bb_annotations.PrintNamedStep('chromedriver_annotation') 154 bb_annotations.PrintNamedStep('chromedriver_annotation')
155 RunCmd(['chrome/test/chromedriver/run_buildbot_steps.py', 155 RunCmd(['chrome/test/chromedriver/run_buildbot_steps.py',
156 '--android-packages=%s,%s,%s' % 156 '--android-packages=%s,%s,%s' %
157 (constants.PACKAGE_INFO['chromium_test_shell'].package, 157 ('chromium_test_shell',
158 constants.PACKAGE_INFO['chrome_stable'].package, 158 'chrome_stable',
159 constants.PACKAGE_INFO['chrome_beta'].package), 159 'chrome_beta'),
160 '--revision=%s' % _GetRevision(options), 160 '--revision=%s' % _GetRevision(options),
161 '--update-log']) 161 '--update-log'])
162 162
163 163
164 def InstallApk(options, test, print_step=False): 164 def InstallApk(options, test, print_step=False):
165 """Install an apk to all phones. 165 """Install an apk to all phones.
166 166
167 Args: 167 Args:
168 options: options object 168 options: options object
169 test: An I_TEST namedtuple 169 test: An I_TEST namedtuple
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 setattr(options, 'target', options.factory_properties.get('target', 'Debug')) 604 setattr(options, 'target', options.factory_properties.get('target', 'Debug'))
605 if options.coverage_bucket: 605 if options.coverage_bucket:
606 setattr(options, 'coverage_dir', 606 setattr(options, 'coverage_dir',
607 os.path.join(CHROME_OUT_DIR, options.target, 'coverage')) 607 os.path.join(CHROME_OUT_DIR, options.target, 'coverage'))
608 608
609 MainTestWrapper(options) 609 MainTestWrapper(options)
610 610
611 611
612 if __name__ == '__main__': 612 if __name__ == '__main__':
613 sys.exit(main(sys.argv)) 613 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | build/android/pylib/constants.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698