| 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 | |
| 402 'Android Debug (Nexus 5)': { | |
| 403 'swarming_dimensions': { | |
| 404 # There are no PCI IDs on Android. | |
| 405 # This is a hack to get the script working. | |
| 406 'gpu': '0000:0000', | |
| 407 'os': 'Android' | |
| 408 }, | |
| 409 'build_config': 'android-chromium', | |
| 410 # This bot is a one-off and doesn't have similar slaves in the | |
| 411 # swarming pool. | |
| 412 'swarming': False, | |
| 413 'os_type': 'android', | |
| 414 }, | |
| 415 'Android Debug (Nexus 5X)': { | |
| 416 'swarming_dimensions': { | |
| 417 # There are no PCI IDs on Android. | |
| 418 # This is a hack to get the script working. | |
| 419 'gpu': '0000:0000', | |
| 420 'os': 'Android' | |
| 421 }, | |
| 422 'build_config': 'android-chromium', | |
| 423 # This bot is a one-off and doesn't have similar slaves in the | |
| 424 # swarming pool. | |
| 425 'swarming': False, | |
| 426 'os_type': 'android', | |
| 427 }, | |
| 428 'Android Swarmed Debug (Nexus 5X)': { | |
| 429 'swarming_dimensions': { | |
| 430 'device_type': 'bullhead', | |
| 431 'device_os': 'M', | |
| 432 'os': 'Android' | |
| 433 }, | |
| 434 'build_config': 'android-chromium', | |
| 435 'swarming': True, | |
| 436 'os_type': 'android', | |
| 437 }, | |
| 438 'Android Debug (Nexus 6)': { | |
| 439 'swarming_dimensions': { | |
| 440 # There are no PCI IDs on Android. | |
| 441 # This is a hack to get the script working. | |
| 442 'gpu': '0000:0000', | |
| 443 'os': 'Android' | |
| 444 }, | |
| 445 'build_config': 'android-chromium', | |
| 446 # This bot is a one-off and doesn't have similar slaves in the | |
| 447 # swarming pool. | |
| 448 'swarming': False, | |
| 449 'os_type': 'android', | |
| 450 }, | |
| 451 'Android Debug (Nexus 6P)': { | |
| 452 'swarming_dimensions': { | |
| 453 # There are no PCI IDs on Android. | |
| 454 # This is a hack to get the script working. | |
| 455 'gpu': '0000:0000', | |
| 456 'os': 'Android' | |
| 457 }, | |
| 458 'build_config': 'android-chromium', | |
| 459 # This bot is a one-off and doesn't have similar slaves in the | |
| 460 # swarming pool. | |
| 461 'swarming': False, | |
| 462 'os_type': 'android', | |
| 463 }, | |
| 464 'Android Debug (Nexus 9)': { | |
| 465 'swarming_dimensions': { | |
| 466 # There are no PCI IDs on Android. | |
| 467 # This is a hack to get the script working. | |
| 468 'gpu': '0000:0000', | |
| 469 'os': 'Android' | |
| 470 }, | |
| 471 'build_config': 'android-chromium', | |
| 472 # This bot is a one-off and doesn't have similar slaves in the | |
| 473 # swarming pool. | |
| 474 'swarming': False, | |
| 475 'os_type': 'android', | |
| 476 }, | |
| 477 'Android Release (Nexus 5)': { | 400 'Android Release (Nexus 5)': { |
| 478 'swarming_dimensions': { | 401 'swarming_dimensions': { |
| 479 # There are no PCI IDs on Android. | 402 # There are no PCI IDs on Android. |
| 480 # This is a hack to get the script working. | 403 # This is a hack to get the script working. |
| 481 'gpu': '0000:0000', | 404 'gpu': '0000:0000', |
| 482 'os': 'Android' | 405 'os': 'Android' |
| 483 }, | 406 }, |
| 484 'build_config': 'android-chromium', | 407 'build_config': 'android-chromium', |
| 485 # This bot is a one-off and doesn't have similar slaves in the | 408 # This bot is a one-off and doesn't have similar slaves in the |
| 486 # swarming pool. | 409 # swarming pool. |
| (...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1234 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1157 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1235 fp.write('\n') | 1158 fp.write('\n') |
| 1236 | 1159 |
| 1237 def main(): | 1160 def main(): |
| 1238 generate_all_tests(FYI_WATERFALL, True) | 1161 generate_all_tests(FYI_WATERFALL, True) |
| 1239 generate_all_tests(WATERFALL, False) | 1162 generate_all_tests(WATERFALL, False) |
| 1240 return 0 | 1163 return 0 |
| 1241 | 1164 |
| 1242 if __name__ == "__main__": | 1165 if __name__ == "__main__": |
| 1243 sys.exit(main()) | 1166 sys.exit(main()) |
| OLD | NEW |