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