OLD | NEW |
---|---|
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2015 The Chromium Authors. All rights reserved. | 2 # Copyright 2015 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 """Toolbox to manage all the json files in this directory. | 6 """Toolbox to manage all the json files in this directory. |
7 | 7 |
8 It can reformat them in their canonical format or ensures they are well | 8 It can reformat them in their canonical format or ensures they are well |
9 formatted. | 9 formatted. |
10 """ | 10 """ |
(...skipping 18 matching lines...) Expand all Loading... | |
29 # These are not 'builders'. | 29 # These are not 'builders'. |
30 'compile_targets', 'gtest_tests', 'filter_compile_builders', | 30 'compile_targets', 'gtest_tests', 'filter_compile_builders', |
31 'non_filter_builders', 'non_filter_tests_builders', | 31 'non_filter_builders', 'non_filter_tests_builders', |
32 | 32 |
33 # These are not supported on Swarming yet. | 33 # These are not supported on Swarming yet. |
34 # http://crbug.com/472205 | 34 # http://crbug.com/472205 |
35 'Chromium Mac 10.10', | 35 'Chromium Mac 10.10', |
36 # http://crbug.com/441429 | 36 # http://crbug.com/441429 |
37 'Linux Trusty (32)', 'Linux Trusty (dbg)(32)', | 37 'Linux Trusty (32)', 'Linux Trusty (dbg)(32)', |
38 | 38 |
39 # http://crbug.com/480053 | |
40 'Linux GN', | |
41 'linux_chromium_gn_rel', | |
42 | |
43 # Unmaintained builders on chromium.fyi | |
44 'ClangToTMac', | |
45 'ClangToTMacASan', | |
Nico
2015/12/15 17:35:22
these are not unmaintained
| |
46 | |
39 # One off builders. Note that Swarming does support ARM. | 47 # One off builders. Note that Swarming does support ARM. |
40 'Linux ARM Cross-Compile', | 48 'Linux ARM Cross-Compile', |
41 'Site Isolation Linux', | 49 'Site Isolation Linux', |
42 'Site Isolation Win', | 50 'Site Isolation Win', |
43 } | 51 } |
44 | 52 |
45 | 53 |
46 def upgrade_test(test): | 54 def upgrade_test(test): |
47 """Converts from old style string to new style dict.""" | 55 """Converts from old style string to new style dict.""" |
48 if isinstance(test, basestring): | 56 if isinstance(test, basestring): |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
185 p_swarming = 100. * total_swarming / total | 193 p_swarming = 100. * total_swarming / total |
186 print('%s%-*s %4d (%4.1f%%) %4d (%4.1f%%)' % | 194 print('%s%-*s %4d (%4.1f%%) %4d (%4.1f%%)' % |
187 (colorama.Fore.WHITE, l, 'Total:', total_local, p_local, | 195 (colorama.Fore.WHITE, l, 'Total:', total_local, p_local, |
188 total_swarming, p_swarming)) | 196 total_swarming, p_swarming)) |
189 print('%-*s %4d' % (l, 'Total executions:', total)) | 197 print('%-*s %4d' % (l, 'Total executions:', total)) |
190 return result | 198 return result |
191 | 199 |
192 | 200 |
193 if __name__ == "__main__": | 201 if __name__ == "__main__": |
194 sys.exit(main()) | 202 sys.exit(main()) |
OLD | NEW |