| 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 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 857 'disabled_tester_configs': [ | 857 'disabled_tester_configs': [ |
| 858 { | 858 { |
| 859 'names': [ | 859 'names': [ |
| 860 # TODO(ynovikov) Investigate why the test breaks on older devices. | 860 # TODO(ynovikov) Investigate why the test breaks on older devices. |
| 861 'Android Release (Nexus 5)', | 861 'Android Release (Nexus 5)', |
| 862 'Android Release (Nexus 6)', | 862 'Android Release (Nexus 6)', |
| 863 'Android Release (Nexus 9)', | 863 'Android Release (Nexus 9)', |
| 864 ], | 864 ], |
| 865 }, | 865 }, |
| 866 ], | 866 ], |
| 867 'desktop_args': ['--use-gpu-in-tests'] | 867 'desktop_args': [ |
| 868 '--use-gpu-in-tests', |
| 869 # ANGLE test retries deliberately disabled to prevent flakiness. |
| 870 # http://crbug.com/669196 |
| 871 '--test-launcher-retry-limit=0' |
| 872 ] |
| 868 }, | 873 }, |
| 869 'angle_unittests': { | 874 'angle_unittests': { |
| 870 'tester_configs': [ | 875 'tester_configs': [ |
| 871 { | 876 { |
| 872 'allow_on_android': True, | 877 'allow_on_android': True, |
| 873 } | 878 } |
| 874 ], | 879 ], |
| 875 'desktop_args': ['--use-gpu-in-tests'] | 880 'desktop_args': [ |
| 881 '--use-gpu-in-tests', |
| 882 # ANGLE test retries deliberately disabled to prevent flakiness. |
| 883 # http://crbug.com/669196 |
| 884 '--test-launcher-retry-limit=0' |
| 885 ] |
| 876 }, | 886 }, |
| 877 # Until the media-only tests are extracted from content_unittests, | 887 # Until the media-only tests are extracted from content_unittests, |
| 878 # and audio_unittests and content_unittests can be run on the commit | 888 # and audio_unittests and content_unittests can be run on the commit |
| 879 # queue with --require-audio-hardware-for-testing, run them only on | 889 # queue with --require-audio-hardware-for-testing, run them only on |
| 880 # the FYI waterfall. | 890 # the FYI waterfall. |
| 881 # | 891 # |
| 882 # Note that the transition to the Chromium recipe has forced the | 892 # Note that the transition to the Chromium recipe has forced the |
| 883 # removal of the --require-audio-hardware-for-testing flag for the | 893 # removal of the --require-audio-hardware-for-testing flag for the |
| 884 # time being. See crbug.com/574942. | 894 # time being. See crbug.com/574942. |
| 885 'audio_unittests': { | 895 'audio_unittests': { |
| (...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1499 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1509 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1500 fp.write('\n') | 1510 fp.write('\n') |
| 1501 | 1511 |
| 1502 def main(): | 1512 def main(): |
| 1503 generate_all_tests(FYI_WATERFALL, True) | 1513 generate_all_tests(FYI_WATERFALL, True) |
| 1504 generate_all_tests(WATERFALL, False) | 1514 generate_all_tests(WATERFALL, False) |
| 1505 return 0 | 1515 return 0 |
| 1506 | 1516 |
| 1507 if __name__ == "__main__": | 1517 if __name__ == "__main__": |
| 1508 sys.exit(main()) | 1518 sys.exit(main()) |
| OLD | NEW |