OLD | NEW |
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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 'master.client.syzygy': 'Syzygy', | 252 'master.client.syzygy': 'Syzygy', |
253 'master.client.v8': 'V8', | 253 'master.client.v8': 'V8', |
254 'master.client.v8.branches': 'V8Branches', | 254 'master.client.v8.branches': 'V8Branches', |
255 'master.client.webrtc': 'WebRTC', | 255 'master.client.webrtc': 'WebRTC', |
256 'master.client.webrtc.fyi': 'WebRTCFYI', | 256 'master.client.webrtc.fyi': 'WebRTCFYI', |
257 'master.experimental': 'Experimental', | 257 'master.experimental': 'Experimental', |
258 'master.push.canary': 'PushCanary', | 258 'master.push.canary': 'PushCanary', |
259 'master.tryserver.chromium.linux': 'TryServerChromiumLinux', | 259 'master.tryserver.chromium.linux': 'TryServerChromiumLinux', |
260 'master.tryserver.chromium.mac': 'TryServerChromiumMac', | 260 'master.tryserver.chromium.mac': 'TryServerChromiumMac', |
261 'master.tryserver.chromium.win': 'TryServerChromiumWin', | 261 'master.tryserver.chromium.win': 'TryServerChromiumWin', |
262 'master.tryserver.chromium.gpu': 'GpuTryServer', | |
263 'master.tryserver.chromium.perf': 'ChromiumPerfTryServer', | 262 'master.tryserver.chromium.perf': 'ChromiumPerfTryServer', |
264 'master.tryserver.client.mojo': 'MojoTryServer', | 263 'master.tryserver.client.mojo': 'MojoTryServer', |
265 'master.tryserver.blink': 'BlinkTryServer', | 264 'master.tryserver.blink': 'BlinkTryServer', |
266 'master.tryserver.libyuv': 'LibyuvTryServer', | 265 'master.tryserver.libyuv': 'LibyuvTryServer', |
267 'master.tryserver.nacl': 'NativeClientTryServer', | 266 'master.tryserver.nacl': 'NativeClientTryServer', |
268 'master.tryserver.v8': 'V8TryServer', | 267 'master.tryserver.v8': 'V8TryServer', |
269 'master.tryserver.webrtc': 'WebRTCTryServer', | 268 'master.tryserver.webrtc': 'WebRTCTryServer', |
270 } | 269 } |
271 all_masters = {base_dir: public_masters} | 270 all_masters = {base_dir: public_masters} |
272 if os.path.exists(build_internal): | 271 if os.path.exists(build_internal): |
273 internal_test_data = chromium_utils.ParsePythonCfg( | 272 internal_test_data = chromium_utils.ParsePythonCfg( |
274 os.path.join(build_internal, 'tests', 'internal_masters_cfg.py'), | 273 os.path.join(build_internal, 'tests', 'internal_masters_cfg.py'), |
275 fail_hard=True) | 274 fail_hard=True) |
276 all_masters[build_internal] = internal_test_data['masters_test'] | 275 all_masters[build_internal] = internal_test_data['masters_test'] |
277 return real_main(all_masters) | 276 return real_main(all_masters) |
278 | 277 |
279 | 278 |
280 if __name__ == '__main__': | 279 if __name__ == '__main__': |
281 sys.exit(main(sys.argv)) | 280 sys.exit(main(sys.argv)) |
OLD | NEW |