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

Side by Side Diff: tests/masters_test.py

Issue 2478413002: Move some non-tree closing bots on chromium.android to chromium.android.fyi (Closed)
Patch Set: Review Created 4 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
« no previous file with comments | « masters/master.chromium.android/master_site_config.py ('k') | 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 2013 The Chromium Authors. All rights reserved. 2 # Copyright 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 """Starts all masters and verify they can server /json/project fine. 6 """Starts all masters and verify they can server /json/project fine.
7 """ 7 """
8 8
9 import collections 9 import collections
10 import contextlib 10 import contextlib
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 sys.path = [x for x in sys.path if not x.endswith('site_config')] 208 sys.path = [x for x in sys.path if not x.endswith('site_config')]
209 base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 209 base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
210 build_internal = os.path.join(os.path.dirname(base_dir), 'build_internal') 210 build_internal = os.path.join(os.path.dirname(base_dir), 'build_internal')
211 sys.path.extend(os.path.normpath(os.path.join(base_dir, d)) for d in ( 211 sys.path.extend(os.path.normpath(os.path.join(base_dir, d)) for d in (
212 'site_config', 212 'site_config',
213 os.path.join(build_internal, 'site_config'), 213 os.path.join(build_internal, 'site_config'),
214 )) 214 ))
215 public_masters = { 215 public_masters = {
216 'master.chromium': 'Chromium', 216 'master.chromium': 'Chromium',
217 'master.chromium.android': 'ChromiumAndroid', 217 'master.chromium.android': 'ChromiumAndroid',
218 'master.chromium.android.fyi': 'ChromiumAndroidFyi',
218 'master.chromium.chrome': 'ChromiumChrome', 219 'master.chromium.chrome': 'ChromiumChrome',
219 'master.chromium.chromedriver': 'ChromiumChromeDriver', 220 'master.chromium.chromedriver': 'ChromiumChromeDriver',
220 'master.chromium.chromiumos': 'ChromiumChromiumos', 221 'master.chromium.chromiumos': 'ChromiumChromiumos',
221 'master.chromium.fyi': 'ChromiumFYI', 222 'master.chromium.fyi': 'ChromiumFYI',
222 'master.chromium.gatekeeper': 'Gatekeeper', 223 'master.chromium.gatekeeper': 'Gatekeeper',
223 'master.chromium.goma': 'ChromiumGoma', 224 'master.chromium.goma': 'ChromiumGoma',
224 'master.chromium.gpu': 'ChromiumGPU', 225 'master.chromium.gpu': 'ChromiumGPU',
225 'master.chromium.gpu.fyi': 'ChromiumGPUFYI', 226 'master.chromium.gpu.fyi': 'ChromiumGPUFYI',
226 'master.chromium.infra': 'Infra', 227 'master.chromium.infra': 'Infra',
227 'master.chromium.infra.codesearch': 'InfraCodesearch', 228 'master.chromium.infra.codesearch': 'InfraCodesearch',
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 if os.path.exists(build_internal): 296 if os.path.exists(build_internal):
296 internal_test_data = chromium_utils.ParsePythonCfg( 297 internal_test_data = chromium_utils.ParsePythonCfg(
297 os.path.join(build_internal, 'tests', 'internal_masters_cfg.py'), 298 os.path.join(build_internal, 'tests', 'internal_masters_cfg.py'),
298 fail_hard=True) 299 fail_hard=True)
299 all_masters[build_internal] = internal_test_data['masters_test'] 300 all_masters[build_internal] = internal_test_data['masters_test']
300 return real_main(all_masters) 301 return real_main(all_masters)
301 302
302 303
303 if __name__ == '__main__': 304 if __name__ == '__main__':
304 sys.exit(main(sys.argv)) 305 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « masters/master.chromium.android/master_site_config.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698