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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 @staticmethod | 58 @staticmethod |
59 def DEFAULT_AND_OPTIONAL(x): | 59 def DEFAULT_AND_OPTIONAL(x): |
60 return Predicates.DEFAULT(x) or Types.OPTIONAL in x | 60 return Predicates.DEFAULT(x) or Types.OPTIONAL in x |
61 | 61 |
62 WATERFALL = { | 62 WATERFALL = { |
63 'name': 'chromium.gpu', | 63 'name': 'chromium.gpu', |
64 'type': Types.GPU, | 64 'type': Types.GPU, |
65 | 65 |
66 'builders': { | 66 'builders': { |
67 'GPU Win Builder' : { | 67 'GPU Win Builder' : {}, |
68 # TODO(machenbach): Remove additional browser_tests here and on several | |
69 # release bots below when http://crbug.com/714976 is resolved. | |
70 'additional_compile_targets' : [ "browser_tests" ], | |
71 }, | |
72 'GPU Win Builder (dbg)' : {}, | 68 'GPU Win Builder (dbg)' : {}, |
73 'GPU Mac Builder' : { | 69 'GPU Mac Builder' : {}, |
74 'additional_compile_targets' : [ "browser_tests" ], | |
75 }, | |
76 'GPU Mac Builder (dbg)' : {}, | 70 'GPU Mac Builder (dbg)' : {}, |
77 'GPU Linux Builder' : { | 71 'GPU Linux Builder' : {}, |
78 'additional_compile_targets' : [ "browser_tests" ], | |
79 }, | |
80 'GPU Linux Builder (dbg)' : {}, | 72 'GPU Linux Builder (dbg)' : {}, |
81 }, | 73 }, |
82 | 74 |
83 'testers': { | 75 'testers': { |
84 'Win7 Release (NVIDIA)': { | 76 'Win7 Release (NVIDIA)': { |
85 'swarming_dimensions': [ | 77 'swarming_dimensions': [ |
86 { | 78 { |
87 'gpu': '10de:104a', | 79 'gpu': '10de:104a', |
88 'os': 'Windows-2008ServerR2-SP1' | 80 'os': 'Windows-2008ServerR2-SP1' |
89 }, | 81 }, |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 'os_type': 'linux', | 164 'os_type': 'linux', |
173 }, | 165 }, |
174 } | 166 } |
175 } | 167 } |
176 | 168 |
177 FYI_WATERFALL = { | 169 FYI_WATERFALL = { |
178 'name': 'chromium.gpu.fyi', | 170 'name': 'chromium.gpu.fyi', |
179 'type': Types.GPU_FYI, | 171 'type': Types.GPU_FYI, |
180 | 172 |
181 'builders': { | 173 'builders': { |
182 'GPU Win Builder' : { | 174 'GPU Win Builder' : {}, |
183 # TODO(machenbach): Remove additional browser_tests here and on several | |
184 # release bots below when http://crbug.com/714976 is resolved. | |
185 'additional_compile_targets' : [ "browser_tests" ], | |
186 }, | |
187 'GPU Win Builder (dbg)' : {}, | 175 'GPU Win Builder (dbg)' : {}, |
188 'GPU Win x64 Builder' : { | 176 'GPU Win x64 Builder' : {}, |
189 'additional_compile_targets' : [ "browser_tests" ], | |
190 }, | |
191 'GPU Win x64 Builder (dbg)' : {}, | 177 'GPU Win x64 Builder (dbg)' : {}, |
192 'GPU Mac Builder' : { | 178 'GPU Mac Builder' : {}, |
193 'additional_compile_targets' : [ "browser_tests" ], | |
194 }, | |
195 'GPU Mac Builder (dbg)' : {}, | 179 'GPU Mac Builder (dbg)' : {}, |
196 'GPU Linux Builder' : { | 180 'GPU Linux Builder' : {}, |
197 'additional_compile_targets' : [ "browser_tests" ], | |
198 }, | |
199 'GPU Linux Builder (dbg)' : {}, | 181 'GPU Linux Builder (dbg)' : {}, |
200 'Linux ChromiumOS Builder' : { | 182 'Linux ChromiumOS Builder' : { |
201 'additional_compile_targets' : [ "All" ] | 183 'additional_compile_targets' : [ "All" ] |
202 }, | 184 }, |
203 'Linux ChromiumOS Ozone Builder' : {}, | 185 'Linux ChromiumOS Ozone Builder' : {}, |
204 }, | 186 }, |
205 | 187 |
206 'testers': { | 188 'testers': { |
207 'Win7 Release (NVIDIA)': { | 189 'Win7 Release (NVIDIA)': { |
208 'swarming_dimensions': [ | 190 'swarming_dimensions': [ |
(...skipping 2187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2396 install_parent_links(WATERFALL) | 2378 install_parent_links(WATERFALL) |
2397 install_parent_links(V8_FYI_WATERFALL) | 2379 install_parent_links(V8_FYI_WATERFALL) |
2398 | 2380 |
2399 generate_all_tests(FYI_WATERFALL, 'chromium.gpu.fyi.json') | 2381 generate_all_tests(FYI_WATERFALL, 'chromium.gpu.fyi.json') |
2400 generate_all_tests(WATERFALL, 'chromium.gpu.json') | 2382 generate_all_tests(WATERFALL, 'chromium.gpu.json') |
2401 generate_all_tests(V8_FYI_WATERFALL, 'client.v8.fyi.json') | 2383 generate_all_tests(V8_FYI_WATERFALL, 'client.v8.fyi.json') |
2402 return 0 | 2384 return 0 |
2403 | 2385 |
2404 if __name__ == "__main__": | 2386 if __name__ == "__main__": |
2405 sys.exit(main()) | 2387 sys.exit(main()) |
OLD | NEW |