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

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

Issue 11938011: Add ui tests to android webkit-latest bot (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 # 2 #
3 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 import collections 7 import collections
8 import json 8 import json
9 import optparse 9 import optparse
10 import os 10 import os
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 ['bb_check_webview_licenses', 'bb_compile', 'bb_compile_experimental', 94 ['bb_check_webview_licenses', 'bb_compile', 'bb_compile_experimental',
95 'bb_run_findbugs', 'bb_zip_build'], None, None), 95 'bb_run_findbugs', 'bb_zip_build'], None, None),
96 B('fyi-builder-rel', 96 B('fyi-builder-rel',
97 ['bb_compile', 'bb_compile_experimental', 'bb_zip_build'], None, None), 97 ['bb_compile', 'bb_compile_experimental', 'bb_zip_build'], None, None),
98 B('fyi-tests', std_test_steps, 98 B('fyi-tests', std_test_steps,
99 T(std_tests, ['--experimental', '--upload-to-flakiness-server']), None), 99 T(std_tests, ['--experimental', '--upload-to-flakiness-server']), None),
100 B('perf-tests-rel', std_test_steps, T([], ['--install=ContentShell']), 100 B('perf-tests-rel', std_test_steps, T([], ['--install=ContentShell']),
101 None), 101 None),
102 B('try-fyi-tests', std_test_steps, T(std_tests, ['--experimental']), 102 B('try-fyi-tests', std_test_steps, T(std_tests, ['--experimental']),
103 None), 103 None),
104 B('webkit-latest-tests', std_test_steps, T(['unit']), None),
105 B('webkit-latest-webkit-tests', std_test_steps, 104 B('webkit-latest-webkit-tests', std_test_steps,
106 T(['webkit_layout', 'webkit']), None), 105 T(['webkit_layout', 'webkit']), None),
107 106
108 # Generic builder config (for substring match). 107 # Generic builder config (for substring match).
109 B('builder', std_build_steps, None, None), 108 B('builder', std_build_steps, None, None),
110 ] 109 ]
111 110
112 bot_map = dict((config.bot_id, config) for config in bot_configs) 111 bot_map = dict((config.bot_id, config) for config in bot_configs)
113 112
114 # These bots have identical configuration to ones defined earlier. 113 # These bots have identical configuration to ones defined earlier.
115 copy_map = [ 114 copy_map = [
116 ('try-builder-dbg', 'main-builder-dbg'), 115 ('try-builder-dbg', 'main-builder-dbg'),
117 ('try-builder-rel', 'main-builder-rel'), 116 ('try-builder-rel', 'main-builder-rel'),
118 ('try-clang-builder', 'main-clang-builder'), 117 ('try-clang-builder', 'main-clang-builder'),
119 ('try-fyi-builder-dbg', 'fyi-builder-dbg'), 118 ('try-fyi-builder-dbg', 'fyi-builder-dbg'),
120 ('try-tests', 'main-tests'), 119 ('try-tests', 'main-tests'),
120 ('webkit-latest-tests', 'main-tests'),
121 ] 121 ]
122 for to_id, from_id in copy_map: 122 for to_id, from_id in copy_map:
123 assert to_id not in bot_map 123 assert to_id not in bot_map
124 # pylint: disable=W0212 124 # pylint: disable=W0212
125 bot_map[to_id] = bot_map[from_id]._replace(bot_id=to_id) 125 bot_map[to_id] = bot_map[from_id]._replace(bot_id=to_id)
126 126
127 return bot_map 127 return bot_map
128 128
129 129
130 def main(argv): 130 def main(argv):
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 continue 190 continue
191 env = dict(os.environ) 191 env = dict(os.environ)
192 env['BUILDBOT_TESTING'] = '1' 192 env['BUILDBOT_TESTING'] = '1'
193 193
194 return_code |= subprocess.call(command, cwd=CHROME_SRC, env=env) 194 return_code |= subprocess.call(command, cwd=CHROME_SRC, env=env)
195 return return_code 195 return return_code
196 196
197 197
198 if __name__ == '__main__': 198 if __name__ == '__main__':
199 sys.exit(main(sys.argv)) 199 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