| 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 # TODO(kbr): add device PCI ID 6613 once deployed | 185 # TODO(kbr): add device PCI ID 6613 once deployed |
| 186 # http://crbug.com/639353 | 186 # http://crbug.com/639353 |
| 187 'gpu': '1002', | 187 'gpu': '1002', |
| 188 'os': 'Windows-2008ServerR2-SP1' | 188 'os': 'Windows-2008ServerR2-SP1' |
| 189 }, | 189 }, |
| 190 ], | 190 ], |
| 191 'build_config': 'Release', | 191 'build_config': 'Release', |
| 192 'swarming': True, | 192 'swarming': True, |
| 193 'os_type': 'win', | 193 'os_type': 'win', |
| 194 }, | 194 }, |
| 195 'Win7 Release (AMD)': { |
| 196 'swarming_dimensions': [ |
| 197 { |
| 198 'gpu': '1002:6613', |
| 199 'os': 'Windows-2008ServerR2-SP1' |
| 200 }, |
| 201 ], |
| 202 'build_config': 'Release', |
| 203 'swarming': True, |
| 204 'os_type': 'win', |
| 205 }, |
| 195 'Win7 Debug (ATI)': { | 206 'Win7 Debug (ATI)': { |
| 196 'swarming_dimensions': [ | 207 'swarming_dimensions': [ |
| 197 { | 208 { |
| 198 # TODO(kbr): add device PCI ID 6613 once deployed | 209 # TODO(kbr): add device PCI ID 6613 once deployed |
| 199 # http://crbug.com/639353 | 210 # http://crbug.com/639353 |
| 200 'gpu': '1002', | 211 'gpu': '1002', |
| 201 'os': 'Windows-2008ServerR2-SP1' | 212 'os': 'Windows-2008ServerR2-SP1' |
| 202 }, | 213 }, |
| 203 ], | 214 ], |
| 204 'build_config': 'Debug', | 215 'build_config': 'Debug', |
| 205 'swarming': True, | 216 'swarming': True, |
| 206 'os_type': 'win', | 217 'os_type': 'win', |
| 207 }, | 218 }, |
| 219 'Win7 Debug (AMD)': { |
| 220 'swarming_dimensions': [ |
| 221 { |
| 222 'gpu': '1002:6613', |
| 223 'os': 'Windows-2008ServerR2-SP1' |
| 224 }, |
| 225 ], |
| 226 'build_config': 'Debug', |
| 227 'swarming': True, |
| 228 'os_type': 'win', |
| 229 }, |
| 208 'Win7 Release (Intel)': { | 230 'Win7 Release (Intel)': { |
| 209 'swarming_dimensions': [ | 231 'swarming_dimensions': [ |
| 210 { | 232 { |
| 211 'gpu': '8086:041a', | 233 'gpu': '8086:041a', |
| 212 'os': 'Windows-2008ServerR2-SP1' | 234 'os': 'Windows-2008ServerR2-SP1' |
| 213 }, | 235 }, |
| 214 ], | 236 ], |
| 215 'build_config': 'Release', | 237 'build_config': 'Release', |
| 216 # This bot is a one-off and doesn't have similar slaves in the | 238 # This bot is a one-off and doesn't have similar slaves in the |
| 217 # swarming pool. | 239 # swarming pool. |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 'gpu': '1002:6613', | 285 'gpu': '1002:6613', |
| 264 'os': 'Windows-2008ServerR2-SP1' | 286 'os': 'Windows-2008ServerR2-SP1' |
| 265 }, | 287 }, |
| 266 ], | 288 ], |
| 267 'build_config': 'Release', | 289 'build_config': 'Release', |
| 268 # This bot is a one-off and doesn't have similar slaves in the | 290 # This bot is a one-off and doesn't have similar slaves in the |
| 269 # swarming pool. | 291 # swarming pool. |
| 270 'swarming': False, | 292 'swarming': False, |
| 271 'os_type': 'win', | 293 'os_type': 'win', |
| 272 }, | 294 }, |
| 295 'Win7 Release (AMD R5 230)': { |
| 296 'swarming_dimensions': [ |
| 297 { |
| 298 'gpu': '1002:6779', |
| 299 'os': 'Windows-2008ServerR2-SP1' |
| 300 }, |
| 301 ], |
| 302 'build_config': 'Release', |
| 303 # This bot is a one-off and doesn't have similar slaves in the |
| 304 # swarming pool. |
| 305 'swarming': False, |
| 306 'os_type': 'win', |
| 307 }, |
| 273 'Win7 x64 Release (NVIDIA)': { | 308 'Win7 x64 Release (NVIDIA)': { |
| 274 'swarming_dimensions': [ | 309 'swarming_dimensions': [ |
| 275 { | 310 { |
| 276 'gpu': '10de:104a', | 311 'gpu': '10de:104a', |
| 277 'os': 'Windows-2008ServerR2-SP1' | 312 'os': 'Windows-2008ServerR2-SP1' |
| 278 }, | 313 }, |
| 279 ], | 314 ], |
| 280 'build_config': 'Release_x64', | 315 'build_config': 'Release_x64', |
| 281 'swarming': True, | 316 'swarming': True, |
| 282 'os_type': 'win', | 317 'os_type': 'win', |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 'gpu': '1002:679e', | 355 'gpu': '1002:679e', |
| 321 'os': 'Mac-10.10' | 356 'os': 'Mac-10.10' |
| 322 }, | 357 }, |
| 323 ], | 358 ], |
| 324 'build_config': 'Release', | 359 'build_config': 'Release', |
| 325 # This bot is a one-off and doesn't have similar slaves in the | 360 # This bot is a one-off and doesn't have similar slaves in the |
| 326 # swarming pool. | 361 # swarming pool. |
| 327 'swarming': False, | 362 'swarming': False, |
| 328 'os_type': 'mac', | 363 'os_type': 'mac', |
| 329 }, | 364 }, |
| 365 'Mac 10.10 Release (AMD)': { |
| 366 'swarming_dimensions': [ |
| 367 { |
| 368 'gpu': '1002:679e', |
| 369 'os': 'Mac-10.10' |
| 370 }, |
| 371 ], |
| 372 'build_config': 'Release', |
| 373 # This bot is a one-off and doesn't have similar slaves in the |
| 374 # swarming pool. |
| 375 'swarming': False, |
| 376 'os_type': 'mac', |
| 377 }, |
| 330 'Mac 10.10 Debug (ATI)': { | 378 'Mac 10.10 Debug (ATI)': { |
| 331 'swarming_dimensions': [ | 379 'swarming_dimensions': [ |
| 332 { | 380 { |
| 333 'gpu': '1002:679e', | 381 'gpu': '1002:679e', |
| 334 'os': 'Mac-10.10' | 382 'os': 'Mac-10.10' |
| 335 }, | 383 }, |
| 336 ], | 384 ], |
| 337 'build_config': 'Debug', | 385 'build_config': 'Debug', |
| 338 # This bot is a one-off and doesn't have similar slaves in the | 386 # This bot is a one-off and doesn't have similar slaves in the |
| 339 # swarming pool. | 387 # swarming pool. |
| 340 'swarming': False, | 388 'swarming': False, |
| 341 'os_type': 'mac', | 389 'os_type': 'mac', |
| 342 }, | 390 }, |
| 391 'Mac 10.10 Debug (AMD)': { |
| 392 'swarming_dimensions': [ |
| 393 { |
| 394 'gpu': '1002:679e', |
| 395 'os': 'Mac-10.10' |
| 396 }, |
| 397 ], |
| 398 'build_config': 'Debug', |
| 399 # This bot is a one-off and doesn't have similar slaves in the |
| 400 # swarming pool. |
| 401 'swarming': False, |
| 402 'os_type': 'mac', |
| 403 }, |
| 343 'Mac Retina Release': { | 404 'Mac Retina Release': { |
| 344 'swarming_dimensions': [ | 405 'swarming_dimensions': [ |
| 345 { | 406 { |
| 346 'gpu': '10de:0fe9', | 407 'gpu': '10de:0fe9', |
| 347 'hidpi': '1', | 408 'hidpi': '1', |
| 348 'os': 'Mac' | 409 'os': 'Mac' |
| 349 }, | 410 }, |
| 350 ], | 411 ], |
| 351 'build_config': 'Release', | 412 'build_config': 'Release', |
| 352 'swarming': True, | 413 'swarming': True, |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 'gpu': '1002:6779', | 509 'gpu': '1002:6779', |
| 449 'os': 'Linux' | 510 'os': 'Linux' |
| 450 }, | 511 }, |
| 451 ], | 512 ], |
| 452 'build_config': 'Release', | 513 'build_config': 'Release', |
| 453 # This bot is a one-off and doesn't have similar slaves in the | 514 # This bot is a one-off and doesn't have similar slaves in the |
| 454 # swarming pool. | 515 # swarming pool. |
| 455 'swarming': False, | 516 'swarming': False, |
| 456 'os_type': 'linux', | 517 'os_type': 'linux', |
| 457 }, | 518 }, |
| 519 'Linux Release (AMD R5 230)': { |
| 520 'swarming_dimensions': [ |
| 521 { |
| 522 'gpu': '1002:6779', |
| 523 'os': 'Linux' |
| 524 }, |
| 525 ], |
| 526 'build_config': 'Release', |
| 527 # This bot is a one-off and doesn't have similar slaves in the |
| 528 # swarming pool. |
| 529 'swarming': False, |
| 530 'os_type': 'linux', |
| 531 }, |
| 458 'Linux Release (NVIDIA GeForce 730)': { | 532 'Linux Release (NVIDIA GeForce 730)': { |
| 459 'swarming_dimensions': [ | 533 'swarming_dimensions': [ |
| 460 { | 534 { |
| 461 'gpu': '10de:0f02', | 535 'gpu': '10de:0f02', |
| 462 'os': 'Linux' | 536 'os': 'Linux' |
| 463 }, | 537 }, |
| 464 ], | 538 ], |
| 465 'build_config': 'Release', | 539 'build_config': 'Release', |
| 466 # This bot is a one-off and doesn't have similar slaves in the | 540 # This bot is a one-off and doesn't have similar slaves in the |
| 467 # swarming pool. | 541 # swarming pool. |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 628 # TODO(kbr): add device PCI ID 6613 once deployed | 702 # TODO(kbr): add device PCI ID 6613 once deployed |
| 629 # http://crbug.com/639353 | 703 # http://crbug.com/639353 |
| 630 'gpu': '1002', | 704 'gpu': '1002', |
| 631 'os': 'Windows-2008ServerR2-SP1' | 705 'os': 'Windows-2008ServerR2-SP1' |
| 632 }, | 706 }, |
| 633 ], | 707 ], |
| 634 'build_config': 'Release', | 708 'build_config': 'Release', |
| 635 'swarming': True, | 709 'swarming': True, |
| 636 'os_type': 'win', | 710 'os_type': 'win', |
| 637 }, | 711 }, |
| 712 'Optional Win7 Release (AMD)': { |
| 713 'swarming_dimensions': [ |
| 714 { |
| 715 'gpu': '1002:6613', |
| 716 'os': 'Windows-2008ServerR2-SP1' |
| 717 }, |
| 718 ], |
| 719 'build_config': 'Release', |
| 720 'swarming': True, |
| 721 'os_type': 'win', |
| 722 }, |
| 638 'Optional Mac 10.10 Release (Intel)': { | 723 'Optional Mac 10.10 Release (Intel)': { |
| 639 'swarming_dimensions': [ | 724 'swarming_dimensions': [ |
| 640 { | 725 { |
| 641 'gpu': '8086:0a2e', | 726 'gpu': '8086:0a2e', |
| 642 'os': 'Mac-10.10' | 727 'os': 'Mac-10.10' |
| 643 }, | 728 }, |
| 644 ], | 729 ], |
| 645 'build_config': 'Release', | 730 'build_config': 'Release', |
| 646 'swarming': True, | 731 'swarming': True, |
| 647 'os_type': 'mac', | 732 'os_type': 'mac', |
| (...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1407 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1492 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1408 fp.write('\n') | 1493 fp.write('\n') |
| 1409 | 1494 |
| 1410 def main(): | 1495 def main(): |
| 1411 generate_all_tests(FYI_WATERFALL, True) | 1496 generate_all_tests(FYI_WATERFALL, True) |
| 1412 generate_all_tests(WATERFALL, False) | 1497 generate_all_tests(WATERFALL, False) |
| 1413 return 0 | 1498 return 0 |
| 1414 | 1499 |
| 1415 if __name__ == "__main__": | 1500 if __name__ == "__main__": |
| 1416 sys.exit(main()) | 1501 sys.exit(main()) |
| OLD | NEW |