Chromium Code Reviews| 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 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 796 'disabled_tester_configs': [ | 796 'disabled_tester_configs': [ |
| 797 { | 797 { |
| 798 'names': [ | 798 'names': [ |
| 799 # TODO(ynovikov) Investigate why the test breaks on older devices. | 799 # TODO(ynovikov) Investigate why the test breaks on older devices. |
| 800 'Android Release (Nexus 5)', | 800 'Android Release (Nexus 5)', |
| 801 'Android Release (Nexus 6)', | 801 'Android Release (Nexus 6)', |
| 802 'Android Release (Nexus 9)', | 802 'Android Release (Nexus 9)', |
| 803 ], | 803 ], |
| 804 }, | 804 }, |
| 805 ], | 805 ], |
| 806 'args': ['--test-launcher-retry-limit=0'], | |
|
Ken Russell (switch to Gerrit)
2016/11/29 02:53:44
Please add a comment indicating that test retries
| |
| 806 'desktop_args': ['--use-gpu-in-tests'] | 807 'desktop_args': ['--use-gpu-in-tests'] |
| 807 }, | 808 }, |
| 808 'angle_unittests': { | 809 'angle_unittests': { |
| 809 'tester_configs': [ | 810 'tester_configs': [ |
| 810 { | 811 { |
| 811 'allow_on_android': True, | 812 'allow_on_android': True, |
| 812 } | 813 } |
| 813 ], | 814 ], |
| 815 'args': ['--test-launcher-retry-limit=0'], | |
|
Ken Russell (switch to Gerrit)
2016/11/29 02:53:44
Same here.
| |
| 814 'desktop_args': ['--use-gpu-in-tests'] | 816 'desktop_args': ['--use-gpu-in-tests'] |
| 815 }, | 817 }, |
| 816 # Until the media-only tests are extracted from content_unittests, | 818 # Until the media-only tests are extracted from content_unittests, |
| 817 # and audio_unittests and content_unittests can be run on the commit | 819 # and audio_unittests and content_unittests can be run on the commit |
| 818 # queue with --require-audio-hardware-for-testing, run them only on | 820 # queue with --require-audio-hardware-for-testing, run them only on |
| 819 # the FYI waterfall. | 821 # the FYI waterfall. |
| 820 # | 822 # |
| 821 # Note that the transition to the Chromium recipe has forced the | 823 # Note that the transition to the Chromium recipe has forced the |
| 822 # removal of the --require-audio-hardware-for-testing flag for the | 824 # removal of the --require-audio-hardware-for-testing flag for the |
| 823 # time being. See crbug.com/574942. | 825 # time being. See crbug.com/574942. |
| (...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1435 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1437 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1436 fp.write('\n') | 1438 fp.write('\n') |
| 1437 | 1439 |
| 1438 def main(): | 1440 def main(): |
| 1439 generate_all_tests(FYI_WATERFALL, True) | 1441 generate_all_tests(FYI_WATERFALL, True) |
| 1440 generate_all_tests(WATERFALL, False) | 1442 generate_all_tests(WATERFALL, False) |
| 1441 return 0 | 1443 return 0 |
| 1442 | 1444 |
| 1443 if __name__ == "__main__": | 1445 if __name__ == "__main__": |
| 1444 sys.exit(main()) | 1446 sys.exit(main()) |
| OLD | NEW |