| 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 'gpu': '10de:0f02', | 225 'gpu': '10de:0f02', |
| 226 'os': 'Windows-2008ServerR2-SP1' | 226 'os': 'Windows-2008ServerR2-SP1' |
| 227 }, | 227 }, |
| 228 ], | 228 ], |
| 229 'build_config': 'Release', | 229 'build_config': 'Release', |
| 230 # This bot is a one-off and doesn't have similar slaves in the | 230 # This bot is a one-off and doesn't have similar slaves in the |
| 231 # swarming pool. | 231 # swarming pool. |
| 232 'swarming': False, | 232 'swarming': False, |
| 233 'os_type': 'win', | 233 'os_type': 'win', |
| 234 }, | 234 }, |
| 235 'Win7 Release (New Intel)': { | 235 'Win10 Release (New Intel)': { |
| 236 'swarming_dimensions': [ | 236 'swarming_dimensions': [ |
| 237 { | 237 { |
| 238 'gpu': '8086:0412', | 238 'gpu': '8086:0412', |
| 239 'os': 'Windows-2008ServerR2-SP1' | 239 'os': 'Windows-10', |
| 240 }, | 240 }, |
| 241 ], | 241 ], |
| 242 'build_config': 'Release', | 242 'build_config': 'Release', |
| 243 # This bot is a one-off and doesn't have similar slaves in the | 243 # This bot is a one-off and doesn't have similar slaves in the |
| 244 # swarming pool. | 244 # swarming pool. |
| 245 'swarming': False, | 245 'swarming': False, |
| 246 'os_type': 'win', | 246 'os_type': 'win', |
| 247 }, | 247 }, |
| 248 'Win10 Release (New Intel)': { | |
| 249 'swarming_dimensions': [ | |
| 250 { | |
| 251 'gpu': '8086:0412', | |
| 252 'os': 'Windows-10', | |
| 253 }, | |
| 254 ], | |
| 255 'build_config': 'Release', | |
| 256 # This bot is a one-off and doesn't have similar slaves in the | |
| 257 # swarming pool. | |
| 258 'swarming': False, | |
| 259 'os_type': 'win', | |
| 260 }, | |
| 261 'Win7 Debug (New Intel)': { | |
| 262 'swarming_dimensions': [ | |
| 263 { | |
| 264 'gpu': '8086:0412', | |
| 265 'os': 'Windows-2008ServerR2-SP1' | |
| 266 }, | |
| 267 ], | |
| 268 'build_config': 'Debug', | |
| 269 # This bot is a one-off and doesn't have similar slaves in the | |
| 270 # swarming pool. | |
| 271 'swarming': False, | |
| 272 'os_type': 'win', | |
| 273 }, | |
| 274 'Win10 Debug (New Intel)': { | 248 'Win10 Debug (New Intel)': { |
| 275 'swarming_dimensions': [ | 249 'swarming_dimensions': [ |
| 276 { | 250 { |
| 277 'gpu': '8086:0412', | 251 'gpu': '8086:0412', |
| 278 'os': 'Windows-10', | 252 'os': 'Windows-10', |
| 279 }, | 253 }, |
| 280 ], | 254 ], |
| 255 'build_config': 'Debug', |
| 256 # This bot is a one-off and doesn't have similar slaves in the |
| 257 # swarming pool. |
| 258 'swarming': False, |
| 259 'os_type': 'win', |
| 260 }, |
| 261 'Win10 Release (Intel HD 530)': { |
| 262 'swarming_dimensions': [ |
| 263 { |
| 264 'gpu': '8086:1912', |
| 265 'os': 'Windows-10', |
| 266 }, |
| 267 ], |
| 268 'build_config': 'Release', |
| 269 # This bot is a one-off and doesn't have similar slaves in the |
| 270 # swarming pool. |
| 271 'swarming': False, |
| 272 'os_type': 'win', |
| 273 }, |
| 274 'Win10 Debug (Intel HD 530)': { |
| 275 'swarming_dimensions': [ |
| 276 { |
| 277 'gpu': '8086:1912', |
| 278 'os': 'Windows-10', |
| 279 }, |
| 280 ], |
| 281 'build_config': 'Debug', | 281 'build_config': 'Debug', |
| 282 # This bot is a one-off and doesn't have similar slaves in the | 282 # This bot is a one-off and doesn't have similar slaves in the |
| 283 # swarming pool. | 283 # swarming pool. |
| 284 'swarming': False, | 284 'swarming': False, |
| 285 'os_type': 'win', | 285 'os_type': 'win', |
| 286 }, | 286 }, |
| 287 'Win7 Release (AMD R5 230)': { | 287 'Win7 Release (AMD R5 230)': { |
| 288 'swarming_dimensions': [ | 288 'swarming_dimensions': [ |
| 289 { | 289 { |
| 290 'gpu': '1002:6779', | 290 'gpu': '1002:6779', |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 525 'gpu': '8086:0412', | 525 'gpu': '8086:0412', |
| 526 'os': 'Linux' | 526 'os': 'Linux' |
| 527 }, | 527 }, |
| 528 ], | 528 ], |
| 529 'build_config': 'Debug', | 529 'build_config': 'Debug', |
| 530 # This bot is a one-off and doesn't have similar slaves in the | 530 # This bot is a one-off and doesn't have similar slaves in the |
| 531 # swarming pool. | 531 # swarming pool. |
| 532 'swarming': False, | 532 'swarming': False, |
| 533 'os_type': 'linux', | 533 'os_type': 'linux', |
| 534 }, | 534 }, |
| 535 'Linux Release (Intel HD 530)': { |
| 536 'swarming_dimensions': [ |
| 537 { |
| 538 'gpu': '8086:1912', |
| 539 'os': 'Linux' |
| 540 }, |
| 541 ], |
| 542 'build_config': 'Release', |
| 543 # This bot is a one-off and doesn't have similar slaves in the |
| 544 # swarming pool. |
| 545 'swarming': False, |
| 546 'os_type': 'linux', |
| 547 }, |
| 548 'Linux Debug (Intel HD 530)': { |
| 549 'swarming_dimensions': [ |
| 550 { |
| 551 'gpu': '8086:1912', |
| 552 'os': 'Linux' |
| 553 }, |
| 554 ], |
| 555 'build_config': 'Debug', |
| 556 # This bot is a one-off and doesn't have similar slaves in the |
| 557 # swarming pool. |
| 558 'swarming': False, |
| 559 'os_type': 'linux', |
| 560 }, |
| 535 'Linux Release (AMD R7 240)': { | 561 'Linux Release (AMD R7 240)': { |
| 536 'swarming_dimensions': [ | 562 'swarming_dimensions': [ |
| 537 { | 563 { |
| 538 'gpu': '1002:6613', | 564 'gpu': '1002:6613', |
| 539 'os': 'Linux' | 565 'os': 'Linux' |
| 540 }, | 566 }, |
| 541 ], | 567 ], |
| 542 'build_config': 'Release', | 568 'build_config': 'Release', |
| 543 # This bot is a one-off and doesn't have similar slaves in the | 569 # This bot is a one-off and doesn't have similar slaves in the |
| 544 # swarming pool. | 570 # swarming pool. |
| (...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1626 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1652 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1627 fp.write('\n') | 1653 fp.write('\n') |
| 1628 | 1654 |
| 1629 def main(): | 1655 def main(): |
| 1630 generate_all_tests(FYI_WATERFALL, True) | 1656 generate_all_tests(FYI_WATERFALL, True) |
| 1631 generate_all_tests(WATERFALL, False) | 1657 generate_all_tests(WATERFALL, False) |
| 1632 return 0 | 1658 return 0 |
| 1633 | 1659 |
| 1634 if __name__ == "__main__": | 1660 if __name__ == "__main__": |
| 1635 sys.exit(main()) | 1661 sys.exit(main()) |
| OLD | NEW |