| 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 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 # removal of the --require-audio-hardware-for-testing flag for the | 598 # removal of the --require-audio-hardware-for-testing flag for the |
| 599 # time being. See crbug.com/574942. | 599 # time being. See crbug.com/574942. |
| 600 'audio_unittests': { | 600 'audio_unittests': { |
| 601 'tester_configs': [ | 601 'tester_configs': [ |
| 602 { | 602 { |
| 603 'fyi_only': True, | 603 'fyi_only': True, |
| 604 } | 604 } |
| 605 ], | 605 ], |
| 606 'args': ['--use-gpu-in-tests'] | 606 'args': ['--use-gpu-in-tests'] |
| 607 }, | 607 }, |
| 608 'content_gl_tests': {'args': ['--use-gpu-in-tests']}, | |
| 609 # TODO(kbr): content_unittests is killing the Linux GPU swarming | 608 # TODO(kbr): content_unittests is killing the Linux GPU swarming |
| 610 # bots. crbug.com/582094 . It's not useful now anyway until audio | 609 # bots. crbug.com/582094 . It's not useful now anyway until audio |
| 611 # hardware is deployed on the swarming bots, so stop running it | 610 # hardware is deployed on the swarming bots, so stop running it |
| 612 # everywhere. | 611 # everywhere. |
| 613 # 'content_unittests': {}, | 612 # 'content_unittests': {}, |
| 614 'gl_tests': { | 613 'gl_tests': { |
| 615 'tester_configs': [ | 614 'tester_configs': [ |
| 616 { | 615 { |
| 617 'allow_on_android': True, | 616 'allow_on_android': True, |
| 618 } | 617 } |
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1059 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1058 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1060 fp.write('\n') | 1059 fp.write('\n') |
| 1061 | 1060 |
| 1062 def main(): | 1061 def main(): |
| 1063 generate_all_tests(FYI_WATERFALL, True) | 1062 generate_all_tests(FYI_WATERFALL, True) |
| 1064 generate_all_tests(WATERFALL, False) | 1063 generate_all_tests(WATERFALL, False) |
| 1065 return 0 | 1064 return 0 |
| 1066 | 1065 |
| 1067 if __name__ == "__main__": | 1066 if __name__ == "__main__": |
| 1068 sys.exit(main()) | 1067 sys.exit(main()) |
| OLD | NEW |