| 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 11 matching lines...) Expand all Loading... |
| 22 'GPU Win Builder', | 22 'GPU Win Builder', |
| 23 'GPU Win Builder (dbg)', | 23 'GPU Win Builder (dbg)', |
| 24 'GPU Mac Builder', | 24 'GPU Mac Builder', |
| 25 'GPU Mac Builder (dbg)', | 25 'GPU Mac Builder (dbg)', |
| 26 'GPU Linux Builder', | 26 'GPU Linux Builder', |
| 27 'GPU Linux Builder (dbg)', | 27 'GPU Linux Builder (dbg)', |
| 28 ], | 28 ], |
| 29 | 29 |
| 30 'testers': { | 30 'testers': { |
| 31 'Win7 Release (NVIDIA)': { | 31 'Win7 Release (NVIDIA)': { |
| 32 'swarming_dimensions': { | 32 'swarming_dimensions': [ |
| 33 'gpu': '10de:104a', | 33 { |
| 34 'os': 'Windows-2008ServerR2-SP1' | 34 'gpu': '10de:104a', |
| 35 }, | 35 'os': 'Windows-2008ServerR2-SP1' |
| 36 }, |
| 37 ], |
| 36 'build_config': 'Release', | 38 'build_config': 'Release', |
| 37 'swarming': True, | 39 'swarming': True, |
| 38 'os_type': 'win', | 40 'os_type': 'win', |
| 39 }, | 41 }, |
| 40 'Win7 Debug (NVIDIA)': { | 42 'Win7 Debug (NVIDIA)': { |
| 41 'swarming_dimensions': { | 43 'swarming_dimensions': [ |
| 42 'gpu': '10de:104a', | 44 { |
| 43 'os': 'Windows-2008ServerR2-SP1' | 45 'gpu': '10de:104a', |
| 44 }, | 46 'os': 'Windows-2008ServerR2-SP1' |
| 47 }, |
| 48 ], |
| 45 'build_config': 'Debug', | 49 'build_config': 'Debug', |
| 46 'swarming': True, | 50 'swarming': True, |
| 47 'os_type': 'win', | 51 'os_type': 'win', |
| 48 }, | 52 }, |
| 49 'Win7 Release (ATI)': { | 53 'Win7 Release (ATI)': { |
| 50 'swarming_dimensions': { | 54 'swarming_dimensions': [ |
| 51 'gpu': '1002:6779', | 55 { |
| 52 'os': 'Windows-2008ServerR2-SP1' | 56 'gpu': '1002:6779', |
| 53 }, | 57 'os': 'Windows-2008ServerR2-SP1' |
| 58 }, |
| 59 ], |
| 54 'build_config': 'Release', | 60 'build_config': 'Release', |
| 55 'swarming': True, | 61 'swarming': True, |
| 56 'os_type': 'win', | 62 'os_type': 'win', |
| 57 }, | 63 }, |
| 58 'Mac 10.10 Release (Intel)': { | 64 'Mac 10.10 Release (Intel)': { |
| 59 'swarming_dimensions': { | 65 'swarming_dimensions': [ |
| 60 'gpu': '8086:0a2e', | 66 { |
| 61 'os': 'Mac-10.10' | 67 'gpu': '8086:0a2e', |
| 62 }, | 68 'os': 'Mac-10.10' |
| 69 }, |
| 70 ], |
| 63 'build_config': 'Release', | 71 'build_config': 'Release', |
| 64 'swarming': True, | 72 'swarming': True, |
| 65 'os_type': 'mac', | 73 'os_type': 'mac', |
| 66 }, | 74 }, |
| 67 'Mac 10.10 Debug (Intel)': { | 75 'Mac 10.10 Debug (Intel)': { |
| 68 'swarming_dimensions': { | 76 'swarming_dimensions': [ |
| 69 'gpu': '8086:0a2e', | 77 { |
| 70 'os': 'Mac-10.10' | 78 'gpu': '8086:0a2e', |
| 71 }, | 79 'os': 'Mac-10.10' |
| 80 }, |
| 81 ], |
| 72 'build_config': 'Debug', | 82 'build_config': 'Debug', |
| 73 'swarming': True, | 83 'swarming': True, |
| 74 'os_type': 'mac', | 84 'os_type': 'mac', |
| 75 }, | 85 }, |
| 76 'Mac 10.10 Retina Release (AMD)': { | 86 'Mac 10.10 Retina Release (AMD)': { |
| 77 'swarming_dimensions': { | 87 'swarming_dimensions': [ |
| 78 'gpu': '1002:6821', | 88 { |
| 79 'hidpi': '1', | 89 'gpu': '1002:6821', |
| 80 'os': 'Mac-10.10' | 90 'hidpi': '1', |
| 81 }, | 91 'os': 'Mac-10.10' |
| 92 }, |
| 93 ], |
| 82 'build_config': 'Release', | 94 'build_config': 'Release', |
| 83 'swarming': True, | 95 'swarming': True, |
| 84 'os_type': 'mac', | 96 'os_type': 'mac', |
| 85 }, | 97 }, |
| 86 'Mac 10.10 Retina Debug (AMD)': { | 98 'Mac 10.10 Retina Debug (AMD)': { |
| 87 'swarming_dimensions': { | 99 'swarming_dimensions': [ |
| 88 'gpu': '1002:6821', | 100 { |
| 89 'hidpi': '1', | 101 'gpu': '1002:6821', |
| 90 'os': 'Mac-10.10' | 102 'hidpi': '1', |
| 91 }, | 103 'os': 'Mac-10.10' |
| 104 }, |
| 105 ], |
| 92 'build_config': 'Debug', | 106 'build_config': 'Debug', |
| 93 'swarming': True, | 107 'swarming': True, |
| 94 'os_type': 'mac', | 108 'os_type': 'mac', |
| 95 }, | 109 }, |
| 96 'Linux Release (NVIDIA)': { | 110 'Linux Release (NVIDIA)': { |
| 97 'swarming_dimensions': { | 111 'swarming_dimensions': [ |
| 98 'gpu': '10de:104a', | 112 { |
| 99 'os': 'Linux' | 113 'gpu': '10de:104a', |
| 100 }, | 114 'os': 'Linux' |
| 115 }, |
| 116 ], |
| 101 'build_config': 'Release', | 117 'build_config': 'Release', |
| 102 'swarming': True, | 118 'swarming': True, |
| 103 'os_type': 'linux', | 119 'os_type': 'linux', |
| 104 }, | 120 }, |
| 105 'Linux Debug (NVIDIA)': { | 121 'Linux Debug (NVIDIA)': { |
| 106 'swarming_dimensions': { | 122 'swarming_dimensions': [ |
| 107 'gpu': '10de:104a', | 123 { |
| 108 'os': 'Linux' | 124 'gpu': '10de:104a', |
| 109 }, | 125 'os': 'Linux' |
| 126 }, |
| 127 ], |
| 110 'build_config': 'Debug', | 128 'build_config': 'Debug', |
| 111 'swarming': True, | 129 'swarming': True, |
| 112 'os_type': 'linux', | 130 'os_type': 'linux', |
| 113 }, | 131 }, |
| 114 } | 132 } |
| 115 } | 133 } |
| 116 | 134 |
| 117 FYI_WATERFALL = { | 135 FYI_WATERFALL = { |
| 118 'builders': [ | 136 'builders': [ |
| 119 'GPU Win Builder', | 137 'GPU Win Builder', |
| 120 'GPU Win Builder (dbg)', | 138 'GPU Win Builder (dbg)', |
| 121 'GPU Win x64 Builder', | 139 'GPU Win x64 Builder', |
| 122 'GPU Win x64 Builder (dbg)', | 140 'GPU Win x64 Builder (dbg)', |
| 123 'GPU Mac Builder', | 141 'GPU Mac Builder', |
| 124 'GPU Mac Builder (dbg)', | 142 'GPU Mac Builder (dbg)', |
| 125 'GPU Linux Builder', | 143 'GPU Linux Builder', |
| 126 'GPU Linux Builder (dbg)', | 144 'GPU Linux Builder (dbg)', |
| 127 'Linux ChromiumOS Builder', | 145 'Linux ChromiumOS Builder', |
| 128 ], | 146 ], |
| 129 | 147 |
| 130 'testers': { | 148 'testers': { |
| 131 'Win7 Release (NVIDIA)': { | 149 'Win7 Release (NVIDIA)': { |
| 132 'swarming_dimensions': { | 150 'swarming_dimensions': [ |
| 133 'gpu': '10de:104a', | 151 { |
| 134 'os': 'Windows-2008ServerR2-SP1' | 152 'gpu': '10de:104a', |
| 135 }, | 153 'os': 'Windows-2008ServerR2-SP1' |
| 154 }, |
| 155 ], |
| 136 'build_config': 'Release', | 156 'build_config': 'Release', |
| 137 'swarming': True, | 157 'swarming': True, |
| 138 'os_type': 'win', | 158 'os_type': 'win', |
| 139 }, | 159 }, |
| 140 'Win7 Debug (NVIDIA)': { | 160 'Win7 Debug (NVIDIA)': { |
| 141 'swarming_dimensions': { | 161 'swarming_dimensions': [ |
| 142 'gpu': '10de:104a', | 162 { |
| 143 'os': 'Windows-2008ServerR2-SP1' | 163 'gpu': '10de:104a', |
| 144 }, | 164 'os': 'Windows-2008ServerR2-SP1' |
| 165 }, |
| 166 ], |
| 145 'build_config': 'Debug', | 167 'build_config': 'Debug', |
| 146 'swarming': True, | 168 'swarming': True, |
| 147 'os_type': 'win', | 169 'os_type': 'win', |
| 148 }, | 170 }, |
| 149 'Win8 Release (NVIDIA)': { | 171 'Win8 Release (NVIDIA)': { |
| 150 'swarming_dimensions': { | 172 'swarming_dimensions': [ |
| 151 'gpu': '10de:104a', | 173 { |
| 152 'os': 'Windows-2012ServerR2-SP0' | 174 'gpu': '10de:104a', |
| 153 }, | 175 'os': 'Windows-2012ServerR2-SP0' |
| 176 }, |
| 177 ], |
| 154 'build_config': 'Release', | 178 'build_config': 'Release', |
| 155 'swarming': True, | 179 'swarming': True, |
| 156 'os_type': 'win', | 180 'os_type': 'win', |
| 157 }, | 181 }, |
| 158 'Win8 Debug (NVIDIA)': { | 182 'Win8 Debug (NVIDIA)': { |
| 159 'swarming_dimensions': { | 183 'swarming_dimensions': [ |
| 160 'gpu': '10de:104a', | 184 { |
| 161 'os': 'Windows-2012ServerR2-SP0' | 185 'gpu': '10de:104a', |
| 162 }, | 186 'os': 'Windows-2012ServerR2-SP0' |
| 187 }, |
| 188 ], |
| 163 'build_config': 'Debug', | 189 'build_config': 'Debug', |
| 164 'swarming': True, | 190 'swarming': True, |
| 165 'os_type': 'win', | 191 'os_type': 'win', |
| 166 }, | 192 }, |
| 167 'Win7 Release (ATI)': { | 193 'Win7 Release (ATI)': { |
| 168 'swarming_dimensions': { | 194 'swarming_dimensions': [ |
| 169 'gpu': '1002:6779', | 195 { |
| 170 'os': 'Windows-2008ServerR2-SP1' | 196 'gpu': '1002:6779', |
| 171 }, | 197 'os': 'Windows-2008ServerR2-SP1' |
| 198 }, |
| 199 ], |
| 172 'build_config': 'Release', | 200 'build_config': 'Release', |
| 173 'swarming': True, | 201 'swarming': True, |
| 174 'os_type': 'win', | 202 'os_type': 'win', |
| 175 }, | 203 }, |
| 176 'Win7 Debug (ATI)': { | 204 'Win7 Debug (ATI)': { |
| 177 'swarming_dimensions': { | 205 'swarming_dimensions': [ |
| 178 'gpu': '1002:6779', | 206 { |
| 179 'os': 'Windows-2008ServerR2-SP1' | 207 'gpu': '1002:6779', |
| 180 }, | 208 'os': 'Windows-2008ServerR2-SP1' |
| 209 }, |
| 210 ], |
| 181 'build_config': 'Debug', | 211 'build_config': 'Debug', |
| 182 'swarming': True, | 212 'swarming': True, |
| 183 'os_type': 'win', | 213 'os_type': 'win', |
| 184 }, | 214 }, |
| 185 'Win7 Release (Intel)': { | 215 'Win7 Release (Intel)': { |
| 186 'swarming_dimensions': { | 216 'swarming_dimensions': [ |
| 187 'gpu': '8086:041a', | 217 { |
| 188 'os': 'Windows-2008ServerR2-SP1' | 218 'gpu': '8086:041a', |
| 189 }, | 219 'os': 'Windows-2008ServerR2-SP1' |
| 220 }, |
| 221 ], |
| 190 'build_config': 'Release', | 222 'build_config': 'Release', |
| 191 # This bot is a one-off and doesn't have similar slaves in the | 223 # This bot is a one-off and doesn't have similar slaves in the |
| 192 # swarming pool. | 224 # swarming pool. |
| 193 'swarming': False, | 225 'swarming': False, |
| 194 'os_type': 'win', | 226 'os_type': 'win', |
| 195 }, | 227 }, |
| 196 'Win7 Release (NVIDIA GeForce 730)': { | 228 'Win7 Release (NVIDIA GeForce 730)': { |
| 197 'swarming_dimensions': { | 229 'swarming_dimensions': [ |
| 198 'gpu': '10de:0f02', | 230 { |
| 199 'os': 'Windows-2008ServerR2-SP1' | 231 'gpu': '10de:0f02', |
| 200 }, | 232 'os': 'Windows-2008ServerR2-SP1' |
| 233 }, |
| 234 ], |
| 201 'build_config': 'Release', | 235 'build_config': 'Release', |
| 202 # This bot is a one-off and doesn't have similar slaves in the | 236 # This bot is a one-off and doesn't have similar slaves in the |
| 203 # swarming pool. | 237 # swarming pool. |
| 204 'swarming': False, | 238 'swarming': False, |
| 205 'os_type': 'win', | 239 'os_type': 'win', |
| 206 }, | 240 }, |
| 207 'Win7 Release (New Intel)': { | 241 'Win7 Release (New Intel)': { |
| 208 'swarming_dimensions': { | 242 'swarming_dimensions': [ |
| 209 'gpu': '8086:0412', | 243 { |
| 210 'os': 'Windows-2008ServerR2-SP1' | 244 'gpu': '8086:0412', |
| 211 }, | 245 'os': 'Windows-2008ServerR2-SP1' |
| 246 }, |
| 247 ], |
| 212 'build_config': 'Release', | 248 'build_config': 'Release', |
| 213 # This bot is a one-off and doesn't have similar slaves in the | 249 # This bot is a one-off and doesn't have similar slaves in the |
| 214 # swarming pool. | 250 # swarming pool. |
| 215 'swarming': False, | 251 'swarming': False, |
| 216 'os_type': 'win', | 252 'os_type': 'win', |
| 217 }, | 253 }, |
| 218 'Win7 Debug (New Intel)': { | 254 'Win7 Debug (New Intel)': { |
| 219 'swarming_dimensions': { | 255 'swarming_dimensions': [ |
| 220 'gpu': '8086:0412', | 256 { |
| 221 'os': 'Windows-2008ServerR2-SP1' | 257 'gpu': '8086:0412', |
| 222 }, | 258 'os': 'Windows-2008ServerR2-SP1' |
| 259 }, |
| 260 ], |
| 223 'build_config': 'Debug', | 261 'build_config': 'Debug', |
| 224 # This bot is a one-off and doesn't have similar slaves in the | 262 # This bot is a one-off and doesn't have similar slaves in the |
| 225 # swarming pool. | 263 # swarming pool. |
| 226 'swarming': False, | 264 'swarming': False, |
| 227 'os_type': 'win', | 265 'os_type': 'win', |
| 228 }, | 266 }, |
| 229 'Win7 Release (AMD R7 240)': { | 267 'Win7 Release (AMD R7 240)': { |
| 230 'swarming_dimensions': { | 268 'swarming_dimensions': [ |
| 231 'gpu': '1002:6613', | 269 { |
| 232 'os': 'Windows-2008ServerR2-SP1' | 270 'gpu': '1002:6613', |
| 233 }, | 271 'os': 'Windows-2008ServerR2-SP1' |
| 272 }, |
| 273 ], |
| 234 'build_config': 'Release', | 274 'build_config': 'Release', |
| 235 # This bot is a one-off and doesn't have similar slaves in the | 275 # This bot is a one-off and doesn't have similar slaves in the |
| 236 # swarming pool. | 276 # swarming pool. |
| 237 'swarming': False, | 277 'swarming': False, |
| 238 'os_type': 'win', | 278 'os_type': 'win', |
| 239 }, | 279 }, |
| 240 'Win7 x64 Release (NVIDIA)': { | 280 'Win7 x64 Release (NVIDIA)': { |
| 241 'swarming_dimensions': { | 281 'swarming_dimensions': [ |
| 242 'gpu': '10de:104a', | 282 { |
| 243 'os': 'Windows-2008ServerR2-SP1' | 283 'gpu': '10de:104a', |
| 244 }, | 284 'os': 'Windows-2008ServerR2-SP1' |
| 285 }, |
| 286 ], |
| 245 'build_config': 'Release_x64', | 287 'build_config': 'Release_x64', |
| 246 'swarming': True, | 288 'swarming': True, |
| 247 'os_type': 'win', | 289 'os_type': 'win', |
| 248 }, | 290 }, |
| 249 'Win7 x64 Debug (NVIDIA)': { | 291 'Win7 x64 Debug (NVIDIA)': { |
| 250 'swarming_dimensions': { | 292 'swarming_dimensions': [ |
| 251 'gpu': '10de:104a', | 293 { |
| 252 'os': 'Windows-2008ServerR2-SP1' | 294 'gpu': '10de:104a', |
| 253 }, | 295 'os': 'Windows-2008ServerR2-SP1' |
| 296 }, |
| 297 ], |
| 254 'build_config': 'Debug_x64', | 298 'build_config': 'Debug_x64', |
| 255 'swarming': True, | 299 'swarming': True, |
| 256 'os_type': 'win', | 300 'os_type': 'win', |
| 257 }, | 301 }, |
| 258 'Mac 10.10 Release (Intel)': { | 302 'Mac 10.10 Release (Intel)': { |
| 259 'swarming_dimensions': { | 303 'swarming_dimensions': [ |
| 260 'gpu': '8086:0a2e', | 304 { |
| 261 'os': 'Mac-10.10' | 305 'gpu': '8086:0a2e', |
| 262 }, | 306 'os': 'Mac-10.10' |
| 307 }, |
| 308 ], |
| 263 'build_config': 'Release', | 309 'build_config': 'Release', |
| 264 'swarming': True, | 310 'swarming': True, |
| 265 'os_type': 'mac', | 311 'os_type': 'mac', |
| 266 }, | 312 }, |
| 267 'Mac 10.10 Debug (Intel)': { | 313 'Mac 10.10 Debug (Intel)': { |
| 268 'swarming_dimensions': { | 314 'swarming_dimensions': [ |
| 269 'gpu': '8086:0a2e', | 315 { |
| 270 'os': 'Mac-10.10' | 316 'gpu': '8086:0a2e', |
| 271 }, | 317 'os': 'Mac-10.10' |
| 318 }, |
| 319 ], |
| 272 'build_config': 'Debug', | 320 'build_config': 'Debug', |
| 273 'swarming': True, | 321 'swarming': True, |
| 274 'os_type': 'mac', | 322 'os_type': 'mac', |
| 275 }, | 323 }, |
| 276 'Mac 10.10 Release (ATI)': { | 324 'Mac 10.10 Release (ATI)': { |
| 277 'swarming_dimensions': { | 325 'swarming_dimensions': [ |
| 278 'gpu': '1002:679e', | 326 { |
| 279 'os': 'Mac-10.10' | 327 'gpu': '1002:679e', |
| 280 }, | 328 'os': 'Mac-10.10' |
| 329 }, |
| 330 ], |
| 281 'build_config': 'Release', | 331 'build_config': 'Release', |
| 282 # This bot is a one-off and doesn't have similar slaves in the | 332 # This bot is a one-off and doesn't have similar slaves in the |
| 283 # swarming pool. | 333 # swarming pool. |
| 284 'swarming': False, | 334 'swarming': False, |
| 285 'os_type': 'mac', | 335 'os_type': 'mac', |
| 286 }, | 336 }, |
| 287 'Mac 10.10 Debug (ATI)': { | 337 'Mac 10.10 Debug (ATI)': { |
| 288 'swarming_dimensions': { | 338 'swarming_dimensions': [ |
| 289 'gpu': '1002:679e', | 339 { |
| 290 'os': 'Mac-10.10' | 340 'gpu': '1002:679e', |
| 291 }, | 341 'os': 'Mac-10.10' |
| 342 }, |
| 343 ], |
| 292 'build_config': 'Debug', | 344 'build_config': 'Debug', |
| 293 # This bot is a one-off and doesn't have similar slaves in the | 345 # This bot is a one-off and doesn't have similar slaves in the |
| 294 # swarming pool. | 346 # swarming pool. |
| 295 'swarming': False, | 347 'swarming': False, |
| 296 'os_type': 'mac', | 348 'os_type': 'mac', |
| 297 }, | 349 }, |
| 298 'Mac Retina Release': { | 350 'Mac Retina Release': { |
| 299 'swarming_dimensions': { | 351 'swarming_dimensions': [ |
| 300 'gpu': '10de:0fe9', | 352 { |
| 301 'hidpi': '1', | 353 'gpu': '10de:0fe9', |
| 302 'os': 'Mac' | 354 'hidpi': '1', |
| 303 }, | 355 'os': 'Mac' |
| 356 }, |
| 357 ], |
| 304 'build_config': 'Release', | 358 'build_config': 'Release', |
| 305 'swarming': True, | 359 'swarming': True, |
| 306 'os_type': 'mac', | 360 'os_type': 'mac', |
| 307 }, | 361 }, |
| 308 'Mac Retina Debug': { | 362 'Mac Retina Debug': { |
| 309 'swarming_dimensions': { | 363 'swarming_dimensions': [ |
| 310 'gpu': '10de:0fe9', | 364 { |
| 311 'hidpi': '1', | 365 'gpu': '10de:0fe9', |
| 312 'os': 'Mac' | 366 'hidpi': '1', |
| 313 }, | 367 'os': 'Mac' |
| 368 }, |
| 369 ], |
| 314 'build_config': 'Debug', | 370 'build_config': 'Debug', |
| 315 'swarming': True, | 371 'swarming': True, |
| 316 'os_type': 'mac', | 372 'os_type': 'mac', |
| 317 }, | 373 }, |
| 318 'Mac 10.10 Retina Release (AMD)': { | 374 'Mac 10.10 Retina Release (AMD)': { |
| 319 'swarming_dimensions': { | 375 'swarming_dimensions': [ |
| 320 'gpu': '1002:6821', | 376 { |
| 321 'hidpi': '1', | 377 'gpu': '1002:6821', |
| 322 'os': 'Mac-10.10' | 378 'hidpi': '1', |
| 323 }, | 379 'os': 'Mac-10.10' |
| 380 }, |
| 381 ], |
| 324 'build_config': 'Release', | 382 'build_config': 'Release', |
| 325 'swarming': True, | 383 'swarming': True, |
| 326 'os_type': 'mac', | 384 'os_type': 'mac', |
| 327 }, | 385 }, |
| 328 'Mac 10.10 Retina Debug (AMD)': { | 386 'Mac 10.10 Retina Debug (AMD)': { |
| 329 'swarming_dimensions': { | 387 'swarming_dimensions': [ |
| 330 'gpu': '1002:6821', | 388 { |
| 331 'hidpi': '1', | 389 'gpu': '1002:6821', |
| 332 'os': 'Mac-10.10' | 390 'hidpi': '1', |
| 333 }, | 391 'os': 'Mac-10.10' |
| 392 }, |
| 393 ], |
| 334 'build_config': 'Debug', | 394 'build_config': 'Debug', |
| 335 'swarming': True, | 395 'swarming': True, |
| 336 'os_type': 'mac', | 396 'os_type': 'mac', |
| 337 }, | 397 }, |
| 338 'Mac 10.11 Retina Release (AMD)': { | 398 'Mac 10.11 Retina Release (AMD)': { |
| 339 'swarming_dimensions': { | 399 'swarming_dimensions': [ |
| 340 'gpu': '1002:6821', | 400 { |
| 341 'hidpi': '1', | 401 'gpu': '1002:6821', |
| 342 'os': 'Mac-10.11' | 402 'hidpi': '1', |
| 343 }, | 403 'os': 'Mac-10.11' |
| 404 }, |
| 405 ], |
| 344 'build_config': 'Release', | 406 'build_config': 'Release', |
| 345 # This bot is a one-off for testing purposes. | 407 # This bot is a one-off for testing purposes. |
| 346 'swarming': False, | 408 'swarming': False, |
| 347 'os_type': 'mac', | 409 'os_type': 'mac', |
| 348 }, | 410 }, |
| 349 'Linux Release (NVIDIA)': { | 411 'Linux Release (NVIDIA)': { |
| 350 'swarming_dimensions': { | 412 'swarming_dimensions': [ |
| 351 'gpu': '10de:104a', | 413 { |
| 352 'os': 'Linux' | 414 'gpu': '10de:104a', |
| 353 }, | 415 'os': 'Linux' |
| 416 }, |
| 417 ], |
| 354 'build_config': 'Release', | 418 'build_config': 'Release', |
| 355 'swarming': True, | 419 'swarming': True, |
| 356 'os_type': 'linux', | 420 'os_type': 'linux', |
| 357 }, | 421 }, |
| 358 'Linux Release (Intel Graphics Stack)': { | 422 'Linux Release (Intel Graphics Stack)': { |
| 359 'swarming_dimensions': { | 423 'swarming_dimensions': [ |
| 360 'gpu': '8086:041a', | 424 { |
| 361 'os': 'Linux' | 425 'gpu': '8086:041a', |
| 362 }, | 426 'os': 'Linux' |
| 427 }, |
| 428 ], |
| 363 'build_config': 'Release', | 429 'build_config': 'Release', |
| 364 # This bot is a one-off and doesn't have similar slaves in the | 430 # This bot is a one-off and doesn't have similar slaves in the |
| 365 # swarming pool. | 431 # swarming pool. |
| 366 'swarming': False, | 432 'swarming': False, |
| 367 'os_type': 'linux', | 433 'os_type': 'linux', |
| 368 }, | 434 }, |
| 369 'Linux Release (ATI)': { | 435 'Linux Release (ATI)': { |
| 370 'swarming_dimensions': { | 436 'swarming_dimensions': [ |
| 371 'gpu': '1002:6779', | 437 { |
| 372 'os': 'Linux' | 438 'gpu': '1002:6779', |
| 373 }, | 439 'os': 'Linux' |
| 440 }, |
| 441 ], |
| 374 'build_config': 'Release', | 442 'build_config': 'Release', |
| 375 # This bot is a one-off and doesn't have similar slaves in the | 443 # This bot is a one-off and doesn't have similar slaves in the |
| 376 # swarming pool. | 444 # swarming pool. |
| 377 'swarming': False, | 445 'swarming': False, |
| 378 'os_type': 'linux', | 446 'os_type': 'linux', |
| 379 }, | 447 }, |
| 380 'Linux Release (NVIDIA GeForce 730)': { | 448 'Linux Release (NVIDIA GeForce 730)': { |
| 381 'swarming_dimensions': { | 449 'swarming_dimensions': [ |
| 382 'gpu': '10de:0f02', | 450 { |
| 383 'os': 'Linux' | 451 'gpu': '10de:0f02', |
| 384 }, | 452 'os': 'Linux' |
| 453 }, |
| 454 ], |
| 385 'build_config': 'Release', | 455 'build_config': 'Release', |
| 386 # This bot is a one-off and doesn't have similar slaves in the | 456 # This bot is a one-off and doesn't have similar slaves in the |
| 387 # swarming pool. | 457 # swarming pool. |
| 388 'swarming': False, | 458 'swarming': False, |
| 389 'os_type': 'linux', | 459 'os_type': 'linux', |
| 390 }, | 460 }, |
| 391 'Linux Debug (NVIDIA)': { | 461 'Linux Debug (NVIDIA)': { |
| 392 'swarming_dimensions': { | 462 'swarming_dimensions': [ |
| 393 'gpu': '10de:104a', | 463 { |
| 394 'os': 'Linux' | 464 'gpu': '10de:104a', |
| 395 }, | 465 'os': 'Linux' |
| 466 }, |
| 467 ], |
| 396 'build_config': 'Debug', | 468 'build_config': 'Debug', |
| 397 'swarming': True, | 469 'swarming': True, |
| 398 'os_type': 'linux', | 470 'os_type': 'linux', |
| 399 }, | 471 }, |
| 400 'Linux Release (New Intel)': { | 472 'Linux Release (New Intel)': { |
| 401 'swarming_dimensions': { | 473 'swarming_dimensions': [ |
| 402 'gpu': '8086:0412', | 474 { |
| 403 'os': 'Linux' | 475 'gpu': '8086:0412', |
| 404 }, | 476 'os': 'Linux' |
| 477 }, |
| 478 ], |
| 405 'build_config': 'Release', | 479 'build_config': 'Release', |
| 406 # This bot is a one-off and doesn't have similar slaves in the | 480 # This bot is a one-off and doesn't have similar slaves in the |
| 407 # swarming pool. | 481 # swarming pool. |
| 408 'swarming': False, | 482 'swarming': False, |
| 409 'os_type': 'linux', | 483 'os_type': 'linux', |
| 410 }, | 484 }, |
| 411 'Linux Debug (New Intel)': { | 485 'Linux Debug (New Intel)': { |
| 412 'swarming_dimensions': { | 486 'swarming_dimensions': [ |
| 413 'gpu': '8086:0412', | 487 { |
| 414 'os': 'Linux' | 488 'gpu': '8086:0412', |
| 415 }, | 489 'os': 'Linux' |
| 490 }, |
| 491 ], |
| 416 'build_config': 'Debug', | 492 'build_config': 'Debug', |
| 417 # This bot is a one-off and doesn't have similar slaves in the | 493 # This bot is a one-off and doesn't have similar slaves in the |
| 418 # swarming pool. | 494 # swarming pool. |
| 419 'swarming': False, | 495 'swarming': False, |
| 420 'os_type': 'linux', | 496 'os_type': 'linux', |
| 421 }, | 497 }, |
| 422 'Linux Release (AMD R7 240)': { | 498 'Linux Release (AMD R7 240)': { |
| 423 'swarming_dimensions': { | 499 'swarming_dimensions': [ |
| 424 'gpu': '1002:6613', | 500 { |
| 425 'os': 'Linux' | 501 'gpu': '1002:6613', |
| 426 }, | 502 'os': 'Linux' |
| 503 }, |
| 504 ], |
| 427 'build_config': 'Release', | 505 'build_config': 'Release', |
| 428 # This bot is a one-off and doesn't have similar slaves in the | 506 # This bot is a one-off and doesn't have similar slaves in the |
| 429 # swarming pool. | 507 # swarming pool. |
| 430 'swarming': False, | 508 'swarming': False, |
| 431 'os_type': 'linux', | 509 'os_type': 'linux', |
| 432 }, | 510 }, |
| 433 'Android Release (Nexus 5)': { | 511 'Android Release (Nexus 5)': { |
| 434 'swarming_dimensions': { | 512 'swarming_dimensions': [ |
| 435 # There are no PCI IDs on Android. | 513 { |
| 436 # This is a hack to get the script working. | 514 # There are no PCI IDs on Android. |
| 437 'gpu': '0000:0000', | 515 # This is a hack to get the script working. |
| 438 'os': 'Android' | 516 'gpu': '0000:0000', |
| 439 }, | 517 'os': 'Android' |
| 518 }, |
| 519 ], |
| 440 'build_config': 'android-chromium', | 520 'build_config': 'android-chromium', |
| 441 # This bot is a one-off and doesn't have similar slaves in the | 521 # This bot is a one-off and doesn't have similar slaves in the |
| 442 # swarming pool. | 522 # swarming pool. |
| 443 'swarming': False, | 523 'swarming': False, |
| 444 'os_type': 'android', | 524 'os_type': 'android', |
| 445 }, | 525 }, |
| 446 'Android Release (Nexus 5X)': { | 526 'Android Release (Nexus 5X)': { |
| 447 'swarming_dimensions': { | 527 'swarming_dimensions': [ |
| 448 'device_type': 'bullhead', | 528 { |
| 449 'device_os': 'M', | 529 'device_type': 'bullhead', |
| 450 'os': 'Android' | 530 'device_os': 'M', |
| 451 }, | 531 'os': 'Android' |
| 532 }, |
| 533 ], |
| 452 'build_config': 'android-chromium', | 534 'build_config': 'android-chromium', |
| 453 'swarming': True, | 535 'swarming': True, |
| 454 'os_type': 'android', | 536 'os_type': 'android', |
| 455 }, | 537 }, |
| 456 'Android Release (Nexus 6)': { | 538 'Android Release (Nexus 6)': { |
| 457 'swarming_dimensions': { | 539 'swarming_dimensions': [ |
| 458 # There are no PCI IDs on Android. | 540 { |
| 459 # This is a hack to get the script working. | 541 # There are no PCI IDs on Android. |
| 460 'gpu': '0000:0000', | 542 # This is a hack to get the script working. |
| 461 'os': 'Android' | 543 'gpu': '0000:0000', |
| 462 }, | 544 'os': 'Android' |
| 545 }, |
| 546 ], |
| 463 'build_config': 'android-chromium', | 547 'build_config': 'android-chromium', |
| 464 # This bot is a one-off and doesn't have similar slaves in the | 548 # This bot is a one-off and doesn't have similar slaves in the |
| 465 # swarming pool. | 549 # swarming pool. |
| 466 'swarming': False, | 550 'swarming': False, |
| 467 'os_type': 'android', | 551 'os_type': 'android', |
| 468 }, | 552 }, |
| 469 'Android Release (Nexus 6P)': { | 553 'Android Release (Nexus 6P)': { |
| 470 'swarming_dimensions': { | 554 'swarming_dimensions': [ |
| 471 # There are no PCI IDs on Android. | 555 { |
| 472 # This is a hack to get the script working. | 556 # There are no PCI IDs on Android. |
| 473 'gpu': '0000:0000', | 557 # This is a hack to get the script working. |
| 474 'os': 'Android' | 558 'gpu': '0000:0000', |
| 475 }, | 559 'os': 'Android' |
| 560 }, |
| 561 ], |
| 476 'build_config': 'android-chromium', | 562 'build_config': 'android-chromium', |
| 477 # This bot is a one-off and doesn't have similar slaves in the | 563 # This bot is a one-off and doesn't have similar slaves in the |
| 478 # swarming pool. | 564 # swarming pool. |
| 479 'swarming': False, | 565 'swarming': False, |
| 480 'os_type': 'android', | 566 'os_type': 'android', |
| 481 }, | 567 }, |
| 482 'Android Release (Nexus 9)': { | 568 'Android Release (Nexus 9)': { |
| 483 'swarming_dimensions': { | 569 'swarming_dimensions': [ |
| 484 # There are no PCI IDs on Android. | 570 { |
| 485 # This is a hack to get the script working. | 571 # There are no PCI IDs on Android. |
| 486 'gpu': '0000:0000', | 572 # This is a hack to get the script working. |
| 487 'os': 'Android' | 573 'gpu': '0000:0000', |
| 488 }, | 574 'os': 'Android' |
| 575 }, |
| 576 ], |
| 489 'build_config': 'android-chromium', | 577 'build_config': 'android-chromium', |
| 490 # This bot is a one-off and doesn't have similar slaves in the | 578 # This bot is a one-off and doesn't have similar slaves in the |
| 491 # swarming pool. | 579 # swarming pool. |
| 492 'swarming': False, | 580 'swarming': False, |
| 493 'os_type': 'android', | 581 'os_type': 'android', |
| 494 }, | 582 }, |
| 495 'Android Release (Pixel C)': { | 583 'Android Release (Pixel C)': { |
| 496 'swarming_dimensions': { | 584 'swarming_dimensions': [ |
| 497 # There are no PCI IDs on Android. | 585 { |
| 498 # This is a hack to get the script working. | 586 # There are no PCI IDs on Android. |
| 499 'gpu': '0000:0000', | 587 # This is a hack to get the script working. |
| 500 'os': 'Android' | 588 'gpu': '0000:0000', |
| 501 }, | 589 'os': 'Android' |
| 590 }, |
| 591 ], |
| 502 'build_config': 'android-chromium', | 592 'build_config': 'android-chromium', |
| 503 # This bot is a one-off and doesn't have similar slaves in the | 593 # This bot is a one-off and doesn't have similar slaves in the |
| 504 # swarming pool. | 594 # swarming pool. |
| 505 'swarming': False, | 595 'swarming': False, |
| 506 'os_type': 'android', | 596 'os_type': 'android', |
| 507 }, | 597 }, |
| 508 | 598 |
| 509 # The following "optional" testers don't actually exist on the | 599 # The following "optional" testers don't actually exist on the |
| 510 # waterfall. They are present here merely to specify additional | 600 # waterfall. They are present here merely to specify additional |
| 511 # tests which aren't on the main tryservers. Unfortunately we need | 601 # tests which aren't on the main tryservers. Unfortunately we need |
| 512 # a completely different (redundant) bot specification to handle | 602 # a completely different (redundant) bot specification to handle |
| 513 # this. | 603 # this. |
| 514 'Optional Win7 Release (NVIDIA)': { | 604 'Optional Win7 Release (NVIDIA)': { |
| 515 'swarming_dimensions': { | 605 'swarming_dimensions': [ |
| 516 'gpu': '10de:104a', | 606 { |
| 517 'os': 'Windows-2008ServerR2-SP1' | 607 'gpu': '10de:104a', |
| 518 }, | 608 'os': 'Windows-2008ServerR2-SP1' |
| 609 }, |
| 610 ], |
| 519 'build_config': 'Release', | 611 'build_config': 'Release', |
| 520 'swarming': True, | 612 'swarming': True, |
| 521 'os_type': 'win', | 613 'os_type': 'win', |
| 522 }, | 614 }, |
| 523 'Optional Win7 Release (ATI)': { | 615 'Optional Win7 Release (ATI)': { |
| 524 'swarming_dimensions': { | 616 'swarming_dimensions': [ |
| 525 'gpu': '1002:6779', | 617 { |
| 526 'os': 'Windows-2008ServerR2-SP1' | 618 'gpu': '1002:6779', |
| 527 }, | 619 'os': 'Windows-2008ServerR2-SP1' |
| 620 }, |
| 621 ], |
| 528 'build_config': 'Release', | 622 'build_config': 'Release', |
| 529 'swarming': True, | 623 'swarming': True, |
| 530 'os_type': 'win', | 624 'os_type': 'win', |
| 531 }, | 625 }, |
| 532 'Optional Mac 10.10 Release (Intel)': { | 626 'Optional Mac 10.10 Release (Intel)': { |
| 533 'swarming_dimensions': { | 627 'swarming_dimensions': [ |
| 534 'gpu': '8086:0a2e', | 628 { |
| 535 'os': 'Mac-10.10' | 629 'gpu': '8086:0a2e', |
| 536 }, | 630 'os': 'Mac-10.10' |
| 631 }, |
| 632 ], |
| 537 'build_config': 'Release', | 633 'build_config': 'Release', |
| 538 'swarming': True, | 634 'swarming': True, |
| 539 'os_type': 'mac', | 635 'os_type': 'mac', |
| 540 }, | 636 }, |
| 541 'Optional Mac Retina Release': { | 637 'Optional Mac Retina Release': { |
| 542 'swarming_dimensions': { | 638 'swarming_dimensions': [ |
| 543 'gpu': '10de:0fe9', | 639 { |
| 544 'hidpi': '1', | 640 'gpu': '10de:0fe9', |
| 545 'os': 'Mac' | 641 'hidpi': '1', |
| 546 }, | 642 'os': 'Mac' |
| 643 }, |
| 644 ], |
| 547 'build_config': 'Release', | 645 'build_config': 'Release', |
| 548 'swarming': True, | 646 'swarming': True, |
| 549 'os_type': 'mac', | 647 'os_type': 'mac', |
| 550 }, | 648 }, |
| 551 'Optional Mac 10.10 Retina Release (AMD)': { | 649 'Optional Mac 10.10 Retina Release (AMD)': { |
| 552 'swarming_dimensions': { | 650 'swarming_dimensions': [ |
| 553 'gpu': '1002:6821', | 651 { |
| 554 'hidpi': '1', | 652 'gpu': '1002:6821', |
| 555 'os': 'Mac-10.10' | 653 'hidpi': '1', |
| 556 }, | 654 'os': 'Mac-10.10' |
| 655 }, |
| 656 ], |
| 557 'build_config': 'Release', | 657 'build_config': 'Release', |
| 558 'swarming': True, | 658 'swarming': True, |
| 559 'os_type': 'mac', | 659 'os_type': 'mac', |
| 560 }, | 660 }, |
| 561 'Optional Linux Release (NVIDIA)': { | 661 'Optional Linux Release (NVIDIA)': { |
| 562 'swarming_dimensions': { | 662 'swarming_dimensions': [ |
| 563 'gpu': '10de:104a', | 663 { |
| 564 'os': 'Linux' | 664 'gpu': '10de:104a', |
| 565 }, | 665 'os': 'Linux' |
| 666 }, |
| 667 ], |
| 566 'build_config': 'Release', | 668 'build_config': 'Release', |
| 567 'swarming': True, | 669 'swarming': True, |
| 568 'os_type': 'linux', | 670 'os_type': 'linux', |
| 569 }, | 671 }, |
| 570 } | 672 } |
| 571 } | 673 } |
| 572 | 674 |
| 573 COMMON_GTESTS = { | 675 COMMON_GTESTS = { |
| 574 'angle_deqp_egl_tests': { | 676 'angle_deqp_egl_tests': { |
| 575 'tester_configs': [ | 677 'tester_configs': [ |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 789 # recipe supported running isolates locally. crbug.com/581953 | 891 # recipe supported running isolates locally. crbug.com/581953 |
| 790 | 892 |
| 791 NON_SWARMED_GTESTS = { | 893 NON_SWARMED_GTESTS = { |
| 792 'tab_capture_end2end_tests': { | 894 'tab_capture_end2end_tests': { |
| 793 'test': 'browser_tests', | 895 'test': 'browser_tests', |
| 794 'args': [ | 896 'args': [ |
| 795 '--enable-gpu', | 897 '--enable-gpu', |
| 796 '--test-launcher-jobs=1', | 898 '--test-launcher-jobs=1', |
| 797 '--gtest_filter=CastStreamingApiTestWithPixelOutput.EndToEnd*:' + \ | 899 '--gtest_filter=CastStreamingApiTestWithPixelOutput.EndToEnd*:' + \ |
| 798 'TabCaptureApiPixelTest.EndToEnd*' | 900 'TabCaptureApiPixelTest.EndToEnd*' |
| 799 ] | 901 ], |
| 902 'swarming': { |
| 903 'can_use_on_swarming_builders': False, |
| 904 }, |
| 800 } | 905 } |
| 801 } | 906 } |
| 802 | 907 |
| 803 TELEMETRY_TESTS = { | 908 TELEMETRY_TESTS = { |
| 804 'context_lost': { | 909 'context_lost': { |
| 805 'tester_configs': [ | 910 'tester_configs': [ |
| 806 { | 911 { |
| 807 'allow_on_android': True, | 912 'allow_on_android': True, |
| 808 }, | 913 }, |
| 809 ] | 914 ] |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1034 """Substitutes the ${os_type} variable in |args| from the | 1139 """Substitutes the ${os_type} variable in |args| from the |
| 1035 tester_config's "os_type" property. | 1140 tester_config's "os_type" property. |
| 1036 """ | 1141 """ |
| 1037 substitutions = { | 1142 substitutions = { |
| 1038 'os_type': tester_config['os_type'] | 1143 'os_type': tester_config['os_type'] |
| 1039 } | 1144 } |
| 1040 return [string.Template(arg).safe_substitute(substitutions) for arg in args] | 1145 return [string.Template(arg).safe_substitute(substitutions) for arg in args] |
| 1041 | 1146 |
| 1042 def matches_swarming_dimensions(tester_config, dimension_sets): | 1147 def matches_swarming_dimensions(tester_config, dimension_sets): |
| 1043 for dimensions in dimension_sets: | 1148 for dimensions in dimension_sets: |
| 1044 if set(dimensions.items()).issubset( | 1149 for cur_dims in tester_config['swarming_dimensions']: |
| 1045 tester_config['swarming_dimensions'].items()): | 1150 if set(dimensions.items()).issubset(cur_dims.items()): |
| 1046 return True | 1151 return True |
| 1047 return False | 1152 return False |
| 1048 | 1153 |
| 1049 def is_android(tester_config): | 1154 def is_android(tester_config): |
| 1050 return tester_config['os_type'] == 'android' | 1155 return tester_config['os_type'] == 'android' |
| 1051 | 1156 |
| 1052 def tester_config_matches_tester(tester_name, tester_config, tc, is_fyi, | 1157 def tester_config_matches_tester(tester_name, tester_config, tc, is_fyi, |
| 1053 check_waterfall): | 1158 check_waterfall): |
| 1054 if check_waterfall: | 1159 if check_waterfall: |
| 1055 if tc.get('fyi_only', False) and not is_fyi: | 1160 if tc.get('fyi_only', False) and not is_fyi: |
| 1056 return False | 1161 return False |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1119 # Need to override this result. | 1224 # Need to override this result. |
| 1120 result = copy.deepcopy(NON_SWARMED_GTESTS[test]) | 1225 result = copy.deepcopy(NON_SWARMED_GTESTS[test]) |
| 1121 result['name'] = test | 1226 result['name'] = test |
| 1122 else: | 1227 else: |
| 1123 # Put the swarming dimensions in anyway. If the tester is later | 1228 # Put the swarming dimensions in anyway. If the tester is later |
| 1124 # swarmed, they will come in handy. | 1229 # swarmed, they will come in handy. |
| 1125 if not 'swarming' in result: | 1230 if not 'swarming' in result: |
| 1126 result['swarming'] = {} | 1231 result['swarming'] = {} |
| 1127 result['swarming'].update({ | 1232 result['swarming'].update({ |
| 1128 'can_use_on_swarming_builders': True, | 1233 'can_use_on_swarming_builders': True, |
| 1129 'dimension_sets': [ | 1234 'dimension_sets': tester_config['swarming_dimensions'] |
| 1130 tester_config['swarming_dimensions'] | |
| 1131 ] | |
| 1132 }) | 1235 }) |
| 1133 if is_android(tester_config): | 1236 if is_android(tester_config): |
| 1134 # Override the isolate target to get rid of any "_apk" suffix | 1237 # Override the isolate target to get rid of any "_apk" suffix |
| 1135 # that would be added by the recipes. | 1238 # that would be added by the recipes. |
| 1136 result['override_isolate_target'] = test | 1239 result['override_isolate_target'] = test |
| 1137 # Integrate with the unified logcat system. | 1240 # Integrate with the unified logcat system. |
| 1138 result['swarming'].update({ | 1241 result['swarming'].update({ |
| 1139 'cipd_packages': [ | 1242 'cipd_packages': [ |
| 1140 { | 1243 { |
| 1141 'cipd_package': 'infra/tools/luci/logdog/butler/${platform}', | 1244 'cipd_package': 'infra/tools/luci/logdog/butler/${platform}', |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1199 benchmark_name = test_config.get('target_name') or test | 1302 benchmark_name = test_config.get('target_name') or test |
| 1200 prefix_args = [ | 1303 prefix_args = [ |
| 1201 benchmark_name, | 1304 benchmark_name, |
| 1202 '--show-stdout', | 1305 '--show-stdout', |
| 1203 '--browser=%s' % tester_config['build_config'].lower() | 1306 '--browser=%s' % tester_config['build_config'].lower() |
| 1204 ] | 1307 ] |
| 1205 swarming = { | 1308 swarming = { |
| 1206 # Always say this is true regardless of whether the tester | 1309 # Always say this is true regardless of whether the tester |
| 1207 # supports swarming. It doesn't hurt. | 1310 # supports swarming. It doesn't hurt. |
| 1208 'can_use_on_swarming_builders': True, | 1311 'can_use_on_swarming_builders': True, |
| 1209 'dimension_sets': [ | 1312 'dimension_sets': tester_config['swarming_dimensions'] |
| 1210 tester_config['swarming_dimensions'] | |
| 1211 ] | |
| 1212 } | 1313 } |
| 1213 if 'swarming' in test_config: | 1314 if 'swarming' in test_config: |
| 1214 swarming.update(test_config['swarming']) | 1315 swarming.update(test_config['swarming']) |
| 1215 result = { | 1316 result = { |
| 1216 'args': prefix_args + test_args, | 1317 'args': prefix_args + test_args, |
| 1217 'isolate_name': ( | 1318 'isolate_name': ( |
| 1218 'telemetry_gpu_integration_test' if use_gpu_integration_test_harness | 1319 'telemetry_gpu_integration_test' if use_gpu_integration_test_harness |
| 1219 else 'telemetry_gpu_test'), | 1320 else 'telemetry_gpu_test'), |
| 1220 'name': step_name, | 1321 'name': step_name, |
| 1221 'override_compile_targets': [ | 1322 'override_compile_targets': [ |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1278 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1379 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1279 fp.write('\n') | 1380 fp.write('\n') |
| 1280 | 1381 |
| 1281 def main(): | 1382 def main(): |
| 1282 generate_all_tests(FYI_WATERFALL, True) | 1383 generate_all_tests(FYI_WATERFALL, True) |
| 1283 generate_all_tests(WATERFALL, False) | 1384 generate_all_tests(WATERFALL, False) |
| 1284 return 0 | 1385 return 0 |
| 1285 | 1386 |
| 1286 if __name__ == "__main__": | 1387 if __name__ == "__main__": |
| 1287 sys.exit(main()) | 1388 sys.exit(main()) |
| OLD | NEW |