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 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
595 # and the optional trybots (mainly used during ANGLE rolls). | 595 # and the optional trybots (mainly used during ANGLE rolls). |
596 'angle_end2end_tests': { | 596 'angle_end2end_tests': { |
597 'tester_configs': [ | 597 'tester_configs': [ |
598 { | 598 { |
599 'fyi_only': True, | 599 'fyi_only': True, |
600 'run_on_optional': True, | 600 'run_on_optional': True, |
601 }, | 601 }, |
602 ], | 602 ], |
603 'args': ['--use-gpu-in-tests'] | 603 'args': ['--use-gpu-in-tests'] |
604 }, | 604 }, |
605 'angle_unittests': {'args': ['--use-gpu-in-tests']}, | 605 'angle_unittests': { |
| 606 'tester_configs': [ |
| 607 { |
| 608 'allow_on_android': True, |
| 609 } |
| 610 ], |
| 611 'args': ['--use-gpu-in-tests'] |
| 612 }, |
606 # Until the media-only tests are extracted from content_unittests, | 613 # Until the media-only tests are extracted from content_unittests, |
607 # and audio_unittests and content_unittests can be run on the commit | 614 # and audio_unittests and content_unittests can be run on the commit |
608 # queue with --require-audio-hardware-for-testing, run them only on | 615 # queue with --require-audio-hardware-for-testing, run them only on |
609 # the FYI waterfall. | 616 # the FYI waterfall. |
610 # | 617 # |
611 # Note that the transition to the Chromium recipe has forced the | 618 # Note that the transition to the Chromium recipe has forced the |
612 # removal of the --require-audio-hardware-for-testing flag for the | 619 # removal of the --require-audio-hardware-for-testing flag for the |
613 # time being. See crbug.com/574942. | 620 # time being. See crbug.com/574942. |
614 'audio_unittests': { | 621 'audio_unittests': { |
615 'tester_configs': [ | 622 'tester_configs': [ |
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1136 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1143 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
1137 fp.write('\n') | 1144 fp.write('\n') |
1138 | 1145 |
1139 def main(): | 1146 def main(): |
1140 generate_all_tests(FYI_WATERFALL, True) | 1147 generate_all_tests(FYI_WATERFALL, True) |
1141 generate_all_tests(WATERFALL, False) | 1148 generate_all_tests(WATERFALL, False) |
1142 return 0 | 1149 return 0 |
1143 | 1150 |
1144 if __name__ == "__main__": | 1151 if __name__ == "__main__": |
1145 sys.exit(main()) | 1152 sys.exit(main()) |
OLD | NEW |