| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2016 The Chromium Authors. All rights reserved. | 2 # Copyright 2016 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 """Script to generate chromium.gpu.json and chromium.gpu.fyi.json in | 6 """Script to generate chromium.gpu.json and chromium.gpu.fyi.json in |
| 7 the src/testing/buildbot directory. Maintaining these files by hand is | 7 the src/testing/buildbot directory. Maintaining these files by hand is |
| 8 too unwieldy. | 8 too unwieldy. |
| 9 """ | 9 """ |
| 10 | 10 |
| (...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1044 '--build-revision', | 1044 '--build-revision', |
| 1045 '${got_revision}', | 1045 '${got_revision}', |
| 1046 '--test-machine-name', | 1046 '--test-machine-name', |
| 1047 '${buildername}', | 1047 '${buildername}', |
| 1048 ], | 1048 ], |
| 1049 'tester_configs': [ | 1049 'tester_configs': [ |
| 1050 { | 1050 { |
| 1051 'allow_on_android': True, | 1051 'allow_on_android': True, |
| 1052 }, | 1052 }, |
| 1053 ], | 1053 ], |
| 1054 'disabled_tester_configs': [ |
| 1055 { |
| 1056 'names': [ |
| 1057 # TODO(crbug.com/626986) Flaky on Mac and Win. |
| 1058 'Mac 10.10 Debug (Intel)', |
| 1059 'Win7 Release (NVIDIA)', |
| 1060 ], |
| 1061 }, |
| 1062 ], |
| 1054 }, | 1063 }, |
| 1055 'screenshot_sync': { | 1064 'screenshot_sync': { |
| 1056 'tester_configs': [ | 1065 'tester_configs': [ |
| 1057 { | 1066 { |
| 1058 'allow_on_android': True, | 1067 'allow_on_android': True, |
| 1059 }, | 1068 }, |
| 1060 ], | 1069 ], |
| 1061 }, | 1070 }, |
| 1062 'trace_test': { | 1071 'trace_test': { |
| 1063 'tester_configs': [ | 1072 'tester_configs': [ |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1505 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1514 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1506 fp.write('\n') | 1515 fp.write('\n') |
| 1507 | 1516 |
| 1508 def main(): | 1517 def main(): |
| 1509 generate_all_tests(FYI_WATERFALL, True) | 1518 generate_all_tests(FYI_WATERFALL, True) |
| 1510 generate_all_tests(WATERFALL, False) | 1519 generate_all_tests(WATERFALL, False) |
| 1511 return 0 | 1520 return 0 |
| 1512 | 1521 |
| 1513 if __name__ == "__main__": | 1522 if __name__ == "__main__": |
| 1514 sys.exit(main()) | 1523 sys.exit(main()) |
| OLD | NEW |