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

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

Issue 15464014: Fix WebKit Android buildbot script. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 json 8 import json
9 import multiprocessing 9 import multiprocessing
10 import optparse 10 import optparse
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 '--no-show-results', 229 '--no-show-results',
230 '--no-new-test-results', 230 '--no-new-test-results',
231 '--full-results-html', 231 '--full-results-html',
232 '--clobber-old-results', 232 '--clobber-old-results',
233 '--exit-after-n-failures', '5000', 233 '--exit-after-n-failures', '5000',
234 '--exit-after-n-crashes-or-timeouts', '100', 234 '--exit-after-n-crashes-or-timeouts', '100',
235 '--debug-rwt-logging', 235 '--debug-rwt-logging',
236 '--results-directory', '..layout-test-results', 236 '--results-directory', '..layout-test-results',
237 '--target', options.target, 237 '--target', options.target,
238 '--builder-name', options.build_properties.get('buildername', ''), 238 '--builder-name', options.build_properties.get('buildername', ''),
239 '--build-number', options.build_properties.get('buildnumber', ''), 239 '--build-number', str(options.build_properties.get('buildnumber', '')),
240 '--master-name', options.build_properties.get('mastername', ''), 240 '--master-name', options.build_properties.get('mastername', ''),
241 '--build-name', options.build_properties.get('buildername', ''), 241 '--build-name', options.build_properties.get('buildername', ''),
242 '--platform=chromium-android'] 242 '--platform=chromium-android']
243 243
244 for flag in 'test_results_server', 'driver_name', 'additional_drt_flag': 244 for flag in 'test_results_server', 'driver_name', 'additional_drt_flag':
245 if flag in options.factory_properties: 245 if flag in options.factory_properties:
246 cmd_args.extend(['--%s' % flag.replace('_', '-'), 246 cmd_args.extend(['--%s' % flag.replace('_', '-'),
247 options.factory_properties.get(flag)]) 247 options.factory_properties.get(flag)])
248 248
249 for f in options.factory_properties.get('additional_expectations', []): 249 for f in options.factory_properties.get('additional_expectations', []):
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 'slave', 'android')) 380 'slave', 'android'))
381 if os.path.exists(build_internal_android): 381 if os.path.exists(build_internal_android):
382 android_paths.insert(0, build_internal_android) 382 android_paths.insert(0, build_internal_android)
383 os.environ['PATH'] = os.pathsep.join(android_paths + [os.environ['PATH']]) 383 os.environ['PATH'] = os.pathsep.join(android_paths + [os.environ['PATH']])
384 384
385 MainTestWrapper(options) 385 MainTestWrapper(options)
386 386
387 387
388 if __name__ == '__main__': 388 if __name__ == '__main__':
389 sys.exit(main(sys.argv)) 389 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