| 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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 'swarming_dimensions': { | 390 'swarming_dimensions': { |
| 391 'gpu': '8086:0412', | 391 'gpu': '8086:0412', |
| 392 'os': 'Linux' | 392 'os': 'Linux' |
| 393 }, | 393 }, |
| 394 'build_config': 'Debug', | 394 'build_config': 'Debug', |
| 395 # This bot is a one-off and doesn't have similar slaves in the | 395 # This bot is a one-off and doesn't have similar slaves in the |
| 396 # swarming pool. | 396 # swarming pool. |
| 397 'swarming': False, | 397 'swarming': False, |
| 398 'os_type': 'linux', | 398 'os_type': 'linux', |
| 399 }, | 399 }, |
| 400 # TODO(kbr): remove the Debug Android bots once the waterfalls are |
| 401 # restarted. crbug.com/617848 |
| 400 'Android Debug (Nexus 5)': { | 402 'Android Debug (Nexus 5)': { |
| 401 'swarming_dimensions': { | 403 'swarming_dimensions': { |
| 402 # There are no PCI IDs on Android. | 404 # There are no PCI IDs on Android. |
| 403 # This is a hack to get the script working. | 405 # This is a hack to get the script working. |
| 404 'gpu': '0000:0000', | 406 'gpu': '0000:0000', |
| 405 'os': 'Android' | 407 'os': 'Android' |
| 406 }, | 408 }, |
| 407 'build_config': 'android-chromium', | 409 'build_config': 'android-chromium', |
| 408 # This bot is a one-off and doesn't have similar slaves in the | 410 # This bot is a one-off and doesn't have similar slaves in the |
| 409 # swarming pool. | 411 # swarming pool. |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 # This is a hack to get the script working. | 467 # This is a hack to get the script working. |
| 466 'gpu': '0000:0000', | 468 'gpu': '0000:0000', |
| 467 'os': 'Android' | 469 'os': 'Android' |
| 468 }, | 470 }, |
| 469 'build_config': 'android-chromium', | 471 'build_config': 'android-chromium', |
| 470 # This bot is a one-off and doesn't have similar slaves in the | 472 # This bot is a one-off and doesn't have similar slaves in the |
| 471 # swarming pool. | 473 # swarming pool. |
| 472 'swarming': False, | 474 'swarming': False, |
| 473 'os_type': 'android', | 475 'os_type': 'android', |
| 474 }, | 476 }, |
| 477 'Android Release (Nexus 5)': { |
| 478 'swarming_dimensions': { |
| 479 # There are no PCI IDs on Android. |
| 480 # This is a hack to get the script working. |
| 481 'gpu': '0000:0000', |
| 482 'os': 'Android' |
| 483 }, |
| 484 'build_config': 'android-chromium', |
| 485 # This bot is a one-off and doesn't have similar slaves in the |
| 486 # swarming pool. |
| 487 'swarming': False, |
| 488 'os_type': 'android', |
| 489 }, |
| 490 'Android Release (Nexus 5X)': { |
| 491 'swarming_dimensions': { |
| 492 'device_type': 'bullhead', |
| 493 'device_os': 'M', |
| 494 'os': 'Android' |
| 495 }, |
| 496 'build_config': 'android-chromium', |
| 497 'swarming': True, |
| 498 'os_type': 'android', |
| 499 }, |
| 500 'Android Release (Nexus 6)': { |
| 501 'swarming_dimensions': { |
| 502 # There are no PCI IDs on Android. |
| 503 # This is a hack to get the script working. |
| 504 'gpu': '0000:0000', |
| 505 'os': 'Android' |
| 506 }, |
| 507 'build_config': 'android-chromium', |
| 508 # This bot is a one-off and doesn't have similar slaves in the |
| 509 # swarming pool. |
| 510 'swarming': False, |
| 511 'os_type': 'android', |
| 512 }, |
| 513 'Android Release (Nexus 6P)': { |
| 514 'swarming_dimensions': { |
| 515 # There are no PCI IDs on Android. |
| 516 # This is a hack to get the script working. |
| 517 'gpu': '0000:0000', |
| 518 'os': 'Android' |
| 519 }, |
| 520 'build_config': 'android-chromium', |
| 521 # This bot is a one-off and doesn't have similar slaves in the |
| 522 # swarming pool. |
| 523 'swarming': False, |
| 524 'os_type': 'android', |
| 525 }, |
| 526 'Android Release (Nexus 9)': { |
| 527 'swarming_dimensions': { |
| 528 # There are no PCI IDs on Android. |
| 529 # This is a hack to get the script working. |
| 530 'gpu': '0000:0000', |
| 531 'os': 'Android' |
| 532 }, |
| 533 'build_config': 'android-chromium', |
| 534 # This bot is a one-off and doesn't have similar slaves in the |
| 535 # swarming pool. |
| 536 'swarming': False, |
| 537 'os_type': 'android', |
| 538 }, |
| 475 | 539 |
| 476 # The following "optional" testers don't actually exist on the | 540 # The following "optional" testers don't actually exist on the |
| 477 # waterfall. They are present here merely to specify additional | 541 # waterfall. They are present here merely to specify additional |
| 478 # tests which aren't on the main tryservers. Unfortunately we need | 542 # tests which aren't on the main tryservers. Unfortunately we need |
| 479 # a completely different (redundant) bot specification to handle | 543 # a completely different (redundant) bot specification to handle |
| 480 # this. | 544 # this. |
| 481 'Optional Win7 Release (NVIDIA)': { | 545 'Optional Win7 Release (NVIDIA)': { |
| 482 'swarming_dimensions': { | 546 'swarming_dimensions': { |
| 483 'gpu': '10de:104a', | 547 'gpu': '10de:104a', |
| 484 'os': 'Windows-2008ServerR2-SP1' | 548 'os': 'Windows-2008ServerR2-SP1' |
| (...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1170 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1234 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1171 fp.write('\n') | 1235 fp.write('\n') |
| 1172 | 1236 |
| 1173 def main(): | 1237 def main(): |
| 1174 generate_all_tests(FYI_WATERFALL, True) | 1238 generate_all_tests(FYI_WATERFALL, True) |
| 1175 generate_all_tests(WATERFALL, False) | 1239 generate_all_tests(WATERFALL, False) |
| 1176 return 0 | 1240 return 0 |
| 1177 | 1241 |
| 1178 if __name__ == "__main__": | 1242 if __name__ == "__main__": |
| 1179 sys.exit(main()) | 1243 sys.exit(main()) |
| OLD | NEW |