| 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 'master.client.webrtc.fyi': 'WebRTCFYI', | 273 'master.client.webrtc.fyi': 'WebRTCFYI', |
| 274 'master.experimental': 'Experimental', | 274 'master.experimental': 'Experimental', |
| 275 'master.push.canary': 'PushCanary', | 275 'master.push.canary': 'PushCanary', |
| 276 'master.tryserver.chromium.android': 'TryserverChromiumAndroid', | 276 'master.tryserver.chromium.android': 'TryserverChromiumAndroid', |
| 277 'master.tryserver.chromium.angle': 'TryServerANGLE', | 277 'master.tryserver.chromium.angle': 'TryServerANGLE', |
| 278 'master.tryserver.chromium.linux': 'TryServerChromiumLinux', | 278 'master.tryserver.chromium.linux': 'TryServerChromiumLinux', |
| 279 'master.tryserver.chromium.mac': 'TryServerChromiumMac', | 279 'master.tryserver.chromium.mac': 'TryServerChromiumMac', |
| 280 'master.tryserver.chromium.win': 'TryServerChromiumWin', | 280 'master.tryserver.chromium.win': 'TryServerChromiumWin', |
| 281 'master.tryserver.chromium.perf': 'ChromiumPerfTryServer', | 281 'master.tryserver.chromium.perf': 'ChromiumPerfTryServer', |
| 282 'master.tryserver.client.catapult': 'CatapultTryserver', | 282 'master.tryserver.client.catapult': 'CatapultTryserver', |
| 283 'master.tryserver.client.custom_tabs_client': 'CustomTabsClientTryserver', |
| 283 'master.tryserver.client.mojo': 'MojoTryServer', | 284 'master.tryserver.client.mojo': 'MojoTryServer', |
| 284 'master.tryserver.blink': 'BlinkTryServer', | 285 'master.tryserver.blink': 'BlinkTryServer', |
| 285 'master.tryserver.infra': 'InfraTryServer', | 286 'master.tryserver.infra': 'InfraTryServer', |
| 286 'master.tryserver.libyuv': 'LibyuvTryServer', | 287 'master.tryserver.libyuv': 'LibyuvTryServer', |
| 287 'master.tryserver.nacl': 'NativeClientTryServer', | 288 'master.tryserver.nacl': 'NativeClientTryServer', |
| 288 'master.tryserver.v8': 'V8TryServer', | 289 'master.tryserver.v8': 'V8TryServer', |
| 289 'master.tryserver.webrtc': 'WebRTCTryServer', | 290 'master.tryserver.webrtc': 'WebRTCTryServer', |
| 290 } | 291 } |
| 291 all_masters = {base_dir: public_masters} | 292 all_masters = {base_dir: public_masters} |
| 292 if os.path.exists(build_internal): | 293 if os.path.exists(build_internal): |
| 293 internal_test_data = chromium_utils.ParsePythonCfg( | 294 internal_test_data = chromium_utils.ParsePythonCfg( |
| 294 os.path.join(build_internal, 'tests', 'internal_masters_cfg.py'), | 295 os.path.join(build_internal, 'tests', 'internal_masters_cfg.py'), |
| 295 fail_hard=True) | 296 fail_hard=True) |
| 296 all_masters[build_internal] = internal_test_data['masters_test'] | 297 all_masters[build_internal] = internal_test_data['masters_test'] |
| 297 return real_main(all_masters) | 298 return real_main(all_masters) |
| 298 | 299 |
| 299 | 300 |
| 300 if __name__ == '__main__': | 301 if __name__ == '__main__': |
| 301 sys.exit(main(sys.argv)) | 302 sys.exit(main(sys.argv)) |
| OLD | NEW |