| 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 653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 664 # bots. crbug.com/582094 . It's not useful now anyway until audio | 664 # bots. crbug.com/582094 . It's not useful now anyway until audio |
| 665 # hardware is deployed on the swarming bots, so stop running it | 665 # hardware is deployed on the swarming bots, so stop running it |
| 666 # everywhere. | 666 # everywhere. |
| 667 # 'content_unittests': {}, | 667 # 'content_unittests': {}, |
| 668 'gl_tests': { | 668 'gl_tests': { |
| 669 'tester_configs': [ | 669 'tester_configs': [ |
| 670 { | 670 { |
| 671 'allow_on_android': True, | 671 'allow_on_android': True, |
| 672 } | 672 } |
| 673 ], | 673 ], |
| 674 'disabled_tester_configs': [ |
| 675 { |
| 676 'names': [ |
| 677 # TODO(kbr): investigate inability to recognize this |
| 678 # configuration in the various tests. crbug.com/624621 |
| 679 'Android Release (Pixel C)', |
| 680 ], |
| 681 }, |
| 682 ], |
| 674 'desktop_args': ['--use-gpu-in-tests'] | 683 'desktop_args': ['--use-gpu-in-tests'] |
| 675 }, | 684 }, |
| 676 'gl_unittests': { | 685 'gl_unittests': { |
| 677 'tester_configs': [ | 686 'tester_configs': [ |
| 678 { | 687 { |
| 679 'allow_on_android': True, | 688 'allow_on_android': True, |
| 680 } | 689 } |
| 681 ], | 690 ], |
| 682 'desktop_args': ['--use-gpu-in-tests'] | 691 'desktop_args': ['--use-gpu-in-tests'] |
| 683 }, | 692 }, |
| (...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1218 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1227 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1219 fp.write('\n') | 1228 fp.write('\n') |
| 1220 | 1229 |
| 1221 def main(): | 1230 def main(): |
| 1222 generate_all_tests(FYI_WATERFALL, True) | 1231 generate_all_tests(FYI_WATERFALL, True) |
| 1223 generate_all_tests(WATERFALL, False) | 1232 generate_all_tests(WATERFALL, False) |
| 1224 return 0 | 1233 return 0 |
| 1225 | 1234 |
| 1226 if __name__ == "__main__": | 1235 if __name__ == "__main__": |
| 1227 sys.exit(main()) | 1236 sys.exit(main()) |
| OLD | NEW |