| 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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 'master.client.skia.compile': 'SkiaCompile', | 268 'master.client.skia.compile': 'SkiaCompile', |
| 269 'master.client.skia.fyi': 'SkiaFYI', | 269 'master.client.skia.fyi': 'SkiaFYI', |
| 270 'master.client.syzygy': 'Syzygy', | 270 'master.client.syzygy': 'Syzygy', |
| 271 'master.client.v8': 'V8', | 271 'master.client.v8': 'V8', |
| 272 'master.client.v8.branches': 'V8Branches', | 272 'master.client.v8.branches': 'V8Branches', |
| 273 'master.client.v8.fyi': 'V8FYI', | 273 'master.client.v8.fyi': 'V8FYI', |
| 274 'master.client.v8.ports': 'V8Ports', | 274 'master.client.v8.ports': 'V8Ports', |
| 275 'master.client.wasm.llvm': 'WasmLlvm', | 275 'master.client.wasm.llvm': 'WasmLlvm', |
| 276 'master.client.webrtc': 'WebRTC', | 276 'master.client.webrtc': 'WebRTC', |
| 277 'master.client.webrtc.fyi': 'WebRTCFYI', | 277 'master.client.webrtc.fyi': 'WebRTCFYI', |
| 278 'master.client.webrtc.perf': 'WebRTCPerf', |
| 278 'master.tryserver.chromium.android': 'TryserverChromiumAndroid', | 279 'master.tryserver.chromium.android': 'TryserverChromiumAndroid', |
| 279 'master.tryserver.chromium.angle': 'TryServerANGLE', | 280 'master.tryserver.chromium.angle': 'TryServerANGLE', |
| 280 'master.tryserver.chromium.linux': 'TryServerChromiumLinux', | 281 'master.tryserver.chromium.linux': 'TryServerChromiumLinux', |
| 281 'master.tryserver.chromium.mac': 'TryServerChromiumMac', | 282 'master.tryserver.chromium.mac': 'TryServerChromiumMac', |
| 282 'master.tryserver.chromium.win': 'TryServerChromiumWin', | 283 'master.tryserver.chromium.win': 'TryServerChromiumWin', |
| 283 'master.tryserver.chromium.perf': 'ChromiumPerfTryServer', | 284 'master.tryserver.chromium.perf': 'ChromiumPerfTryServer', |
| 284 'master.tryserver.client.catapult': 'CatapultTryserver', | 285 'master.tryserver.client.catapult': 'CatapultTryserver', |
| 285 'master.tryserver.client.custom_tabs_client': 'CustomTabsClientTryserver', | 286 'master.tryserver.client.custom_tabs_client': 'CustomTabsClientTryserver', |
| 286 'master.tryserver.client.mojo': 'MojoTryServer', | 287 'master.tryserver.client.mojo': 'MojoTryServer', |
| 287 'master.tryserver.client.pdfium': 'PDFiumTryserver', | 288 'master.tryserver.client.pdfium': 'PDFiumTryserver', |
| 288 'master.tryserver.client.syzygy': 'SyzygyTryserver', | 289 'master.tryserver.client.syzygy': 'SyzygyTryserver', |
| 289 'master.tryserver.blink': 'BlinkTryServer', | 290 'master.tryserver.blink': 'BlinkTryServer', |
| 290 'master.tryserver.infra': 'InfraTryServer', | 291 'master.tryserver.infra': 'InfraTryServer', |
| 291 'master.tryserver.libyuv': 'LibyuvTryServer', | 292 'master.tryserver.libyuv': 'LibyuvTryServer', |
| 292 'master.tryserver.nacl': 'NativeClientTryServer', | 293 'master.tryserver.nacl': 'NativeClientTryServer', |
| 293 'master.tryserver.v8': 'V8TryServer', | 294 'master.tryserver.v8': 'V8TryServer', |
| 294 'master.tryserver.webrtc': 'WebRTCTryServer', | 295 'master.tryserver.webrtc': 'WebRTCTryServer', |
| 295 } | 296 } |
| 296 all_masters = {base_dir: public_masters} | 297 all_masters = {base_dir: public_masters} |
| 297 if os.path.exists(build_internal): | 298 if os.path.exists(build_internal): |
| 298 internal_test_data = chromium_utils.ParsePythonCfg( | 299 internal_test_data = chromium_utils.ParsePythonCfg( |
| 299 os.path.join(build_internal, 'tests', 'internal_masters_cfg.py'), | 300 os.path.join(build_internal, 'tests', 'internal_masters_cfg.py'), |
| 300 fail_hard=True) | 301 fail_hard=True) |
| 301 all_masters[build_internal] = internal_test_data['masters_test'] | 302 all_masters[build_internal] = internal_test_data['masters_test'] |
| 302 return real_main(all_masters) | 303 return real_main(all_masters) |
| 303 | 304 |
| 304 | 305 |
| 305 if __name__ == '__main__': | 306 if __name__ == '__main__': |
| 306 sys.exit(main(sys.argv)) | 307 sys.exit(main(sys.argv)) |
| OLD | NEW |