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 1087 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1098 'run_on_optional': True, | 1098 'run_on_optional': True, |
1099 } | 1099 } |
1100 ], | 1100 ], |
1101 'args': [ | 1101 'args': [ |
1102 '--use-gpu-in-tests', | 1102 '--use-gpu-in-tests', |
1103 '--use-angle=gl', | 1103 '--use-angle=gl', |
1104 '--disable-gpu-sandbox', | 1104 '--disable-gpu-sandbox', |
1105 ], | 1105 ], |
1106 'test': 'gles2_conform_test', | 1106 'test': 'gles2_conform_test', |
1107 }, | 1107 }, |
| 1108 'swiftshader_unittests': { |
| 1109 'tester_configs': [ |
| 1110 { |
| 1111 'fyi_only': True, |
| 1112 # Run this on the optional tryservers. |
| 1113 'run_on_optional': True, |
| 1114 }, |
| 1115 ], |
| 1116 }, |
1108 'tab_capture_end2end_tests': { | 1117 'tab_capture_end2end_tests': { |
1109 'tester_configs': [ | 1118 'tester_configs': [ |
1110 { | 1119 { |
1111 'build_configs': ['Release', 'Release_x64'], | 1120 'build_configs': ['Release', 'Release_x64'], |
1112 } | 1121 } |
1113 ], | 1122 ], |
1114 'override_compile_targets': [ | 1123 'override_compile_targets': [ |
1115 'tab_capture_end2end_tests_run', | 1124 'tab_capture_end2end_tests_run', |
1116 ], | 1125 ], |
1117 }, | 1126 }, |
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1710 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1719 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
1711 fp.write('\n') | 1720 fp.write('\n') |
1712 | 1721 |
1713 def main(): | 1722 def main(): |
1714 generate_all_tests(FYI_WATERFALL, True) | 1723 generate_all_tests(FYI_WATERFALL, True) |
1715 generate_all_tests(WATERFALL, False) | 1724 generate_all_tests(WATERFALL, False) |
1716 return 0 | 1725 return 0 |
1717 | 1726 |
1718 if __name__ == "__main__": | 1727 if __name__ == "__main__": |
1719 sys.exit(main()) | 1728 sys.exit(main()) |
OLD | NEW |