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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 'os_type': 'linux', | 143 'os_type': 'linux', |
144 }, | 144 }, |
145 } | 145 } |
146 } | 146 } |
147 | 147 |
148 FYI_WATERFALL = { | 148 FYI_WATERFALL = { |
149 'builders': [ | 149 'builders': [ |
150 'GPU Win Builder', | 150 'GPU Win Builder', |
151 'GPU Win Builder (dbg)', | 151 'GPU Win Builder (dbg)', |
152 'GPU Win x64 Builder', | 152 'GPU Win x64 Builder', |
| 153 'GPU Win x64 Builder (dbg)', |
153 'GPU Mac Builder', | 154 'GPU Mac Builder', |
154 'GPU Mac Builder (dbg)', | 155 'GPU Mac Builder (dbg)', |
155 'GPU Linux Builder', | 156 'GPU Linux Builder', |
156 'GPU Linux Builder (dbg)', | 157 'GPU Linux Builder (dbg)', |
157 ], | 158 ], |
158 | 159 |
159 'testers': { | 160 'testers': { |
160 'Win7 Release (NVIDIA)': { | 161 'Win7 Release (NVIDIA)': { |
161 'swarming_dimensions': { | 162 'swarming_dimensions': { |
162 'gpu': '10de:104a', | 163 'gpu': '10de:104a', |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 }, | 196 }, |
196 'Win7 Release (ATI)': { | 197 'Win7 Release (ATI)': { |
197 'swarming_dimensions': { | 198 'swarming_dimensions': { |
198 'gpu': '1002:6779', | 199 'gpu': '1002:6779', |
199 'os': 'Windows-2008ServerR2-SP1' | 200 'os': 'Windows-2008ServerR2-SP1' |
200 }, | 201 }, |
201 'build_config': 'Release', | 202 'build_config': 'Release', |
202 'swarming': True, | 203 'swarming': True, |
203 'os_type': 'win', | 204 'os_type': 'win', |
204 }, | 205 }, |
| 206 'Win7 Debug (ATI)': { |
| 207 'swarming_dimensions': { |
| 208 'gpu': '1002:6779', |
| 209 'os': 'Windows-2008ServerR2-SP1' |
| 210 }, |
| 211 'build_config': 'Debug', |
| 212 'swarming': True, |
| 213 'os_type': 'win', |
| 214 }, |
205 'Win7 Release dEQP (NVIDIA)': { | 215 'Win7 Release dEQP (NVIDIA)': { |
206 'deqp': True, | 216 'deqp': True, |
207 'swarming_dimensions': { | 217 'swarming_dimensions': { |
208 'gpu': '10de:104a', | 218 'gpu': '10de:104a', |
209 'os': 'Windows-2008ServerR2-SP1' | 219 'os': 'Windows-2008ServerR2-SP1' |
210 }, | 220 }, |
211 'build_config': 'Release', | 221 'build_config': 'Release', |
212 'swarming': True, | 222 'swarming': True, |
213 'os_type': 'win', | 223 'os_type': 'win', |
214 }, | 224 }, |
215 'Win7 x64 Release (NVIDIA)': { | 225 'Win7 x64 Release (NVIDIA)': { |
216 'swarming_dimensions': { | 226 'swarming_dimensions': { |
217 'gpu': '10de:104a', | 227 'gpu': '10de:104a', |
218 'os': 'Windows-2008ServerR2-SP1' | 228 'os': 'Windows-2008ServerR2-SP1' |
219 }, | 229 }, |
220 'build_config': 'Release_x64', | 230 'build_config': 'Release_x64', |
221 'swarming': True, | 231 'swarming': True, |
222 'os_type': 'win', | 232 'os_type': 'win', |
223 }, | 233 }, |
| 234 'Win7 x64 Debug (NVIDIA)': { |
| 235 'swarming_dimensions': { |
| 236 'gpu': '10de:104a', |
| 237 'os': 'Windows-2008ServerR2-SP1' |
| 238 }, |
| 239 'build_config': 'Debug_x64', |
| 240 'swarming': True, |
| 241 'os_type': 'win', |
| 242 }, |
224 'Mac 10.10 Release (Intel)': { | 243 'Mac 10.10 Release (Intel)': { |
225 'swarming_dimensions': { | 244 'swarming_dimensions': { |
226 'gpu': '8086:0a2e', | 245 'gpu': '8086:0a2e', |
227 'os': 'Mac-10.10' | 246 'os': 'Mac-10.10' |
228 }, | 247 }, |
229 'build_config': 'Release', | 248 'build_config': 'Release', |
230 'swarming': True, | 249 'swarming': True, |
231 'os_type': 'mac', | 250 'os_type': 'mac', |
232 }, | 251 }, |
233 'Mac 10.10 Debug (Intel)': { | 252 'Mac 10.10 Debug (Intel)': { |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 ], | 630 ], |
612 'disabled_tester_configs': [ | 631 'disabled_tester_configs': [ |
613 { | 632 { |
614 # BUG 555545: Disable webgl_conformance_gl_tests on Win/AMD | 633 # BUG 555545: Disable webgl_conformance_gl_tests on Win/AMD |
615 'swarming_dimension_sets': [ | 634 'swarming_dimension_sets': [ |
616 { | 635 { |
617 'gpu': '1002:6779', | 636 'gpu': '1002:6779', |
618 'os': 'Windows-2008ServerR2-SP1' | 637 'os': 'Windows-2008ServerR2-SP1' |
619 }, | 638 }, |
620 ], | 639 ], |
| 640 }, |
| 641 { |
| 642 # BUG 555545: Disable webgl_conformance_gl_tests on Win/AMD |
| 643 # Need another entry to match the optional tryservers. |
| 644 'run_on_optional': True, |
| 645 'swarming_dimension_sets': [ |
| 646 { |
| 647 'gpu': '1002:6779', |
| 648 'os': 'Windows-2008ServerR2-SP1' |
| 649 }, |
| 650 ], |
621 } | 651 } |
622 ], | 652 ], |
623 'target_name': 'webgl_conformance', | 653 'target_name': 'webgl_conformance', |
624 'extra_browser_args': [ | 654 'extra_browser_args': [ |
625 '--use-angle=gl', | 655 '--use-angle=gl', |
626 ], | 656 ], |
627 }, | 657 }, |
628 'webgl_conformance_angle_tests': { | 658 'webgl_conformance_angle_tests': { |
629 'tester_configs': [ | 659 'tester_configs': [ |
630 { | 660 { |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 872 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
843 fp.write('\n') | 873 fp.write('\n') |
844 | 874 |
845 def main(): | 875 def main(): |
846 generate_all_tests(FYI_WATERFALL, True) | 876 generate_all_tests(FYI_WATERFALL, True) |
847 generate_all_tests(WATERFALL, False) | 877 generate_all_tests(WATERFALL, False) |
848 return 0 | 878 return 0 |
849 | 879 |
850 if __name__ == "__main__": | 880 if __name__ == "__main__": |
851 sys.exit(main()) | 881 sys.exit(main()) |
OLD | NEW |