| 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 'Win10 Release (New Intel)': { | |
| 236 'swarming_dimensions': [ | |
| 237 { | |
| 238 'gpu': '8086:0412', | |
| 239 'os': 'Windows-10', | |
| 240 }, | |
| 241 ], | |
| 242 'build_config': 'Release', | |
| 243 # This bot is a one-off and doesn't have similar slaves in the | |
| 244 # swarming pool. | |
| 245 'swarming': False, | |
| 246 'os_type': 'win', | |
| 247 }, | |
| 248 'Win10 Debug (New Intel)': { | |
| 249 'swarming_dimensions': [ | |
| 250 { | |
| 251 'gpu': '8086:0412', | |
| 252 'os': 'Windows-10', | |
| 253 }, | |
| 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)': { | 235 'Win10 Release (Intel HD 530)': { |
| 262 'swarming_dimensions': [ | 236 'swarming_dimensions': [ |
| 263 { | 237 { |
| 264 'gpu': '8086:1912', | 238 'gpu': '8086:1912', |
| 265 'os': 'Windows-10', | 239 'os': 'Windows-10', |
| 266 }, | 240 }, |
| 267 ], | 241 ], |
| 268 'build_config': 'Release', | 242 'build_config': 'Release', |
| 269 # 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 |
| 270 # swarming pool. | 244 # swarming pool. |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 'gpu': '1002:6821', | 395 'gpu': '1002:6821', |
| 422 'hidpi': '1', | 396 'hidpi': '1', |
| 423 'os': 'Mac' | 397 'os': 'Mac' |
| 424 }, | 398 }, |
| 425 ], | 399 ], |
| 426 'build_config': 'Release', | 400 'build_config': 'Release', |
| 427 # This bot is a one-off for testing purposes. | 401 # This bot is a one-off for testing purposes. |
| 428 'swarming': False, | 402 'swarming': False, |
| 429 'os_type': 'mac', | 403 'os_type': 'mac', |
| 430 }, | 404 }, |
| 405 'Mac Experimental Retina Release (NVIDIA)': { |
| 406 'swarming_dimensions': [ |
| 407 { |
| 408 'gpu': '10de:0fe9', |
| 409 'hidpi': '1', |
| 410 'os': 'Mac' |
| 411 }, |
| 412 ], |
| 413 'build_config': 'Release', |
| 414 # This bot is a one-off for testing purposes. |
| 415 'swarming': False, |
| 416 'os_type': 'mac', |
| 417 }, |
| 431 'Mac GPU ASAN Release': { | 418 'Mac GPU ASAN Release': { |
| 432 # This bot spawns jobs on multiple GPU types. | 419 # This bot spawns jobs on multiple GPU types. |
| 433 'swarming_dimensions': [ | 420 'swarming_dimensions': [ |
| 434 { | 421 { |
| 435 'gpu': '8086:0a2e', | 422 'gpu': '8086:0a2e', |
| 436 'os': 'Mac-10.12' | 423 'os': 'Mac-10.12' |
| 437 }, | 424 }, |
| 438 { | 425 { |
| 439 'gpu': '1002:6821', | 426 'gpu': '1002:6821', |
| 440 'hidpi': '1', | 427 'hidpi': '1', |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 'swarming_dimensions': [ | 487 'swarming_dimensions': [ |
| 501 { | 488 { |
| 502 'gpu': '10de:104a', | 489 'gpu': '10de:104a', |
| 503 'os': 'Linux' | 490 'os': 'Linux' |
| 504 }, | 491 }, |
| 505 ], | 492 ], |
| 506 'build_config': 'Debug', | 493 'build_config': 'Debug', |
| 507 'swarming': True, | 494 'swarming': True, |
| 508 'os_type': 'linux', | 495 'os_type': 'linux', |
| 509 }, | 496 }, |
| 510 'Linux Release (New Intel)': { | |
| 511 'swarming_dimensions': [ | |
| 512 { | |
| 513 'gpu': '8086:0412', | |
| 514 'os': 'Linux' | |
| 515 }, | |
| 516 ], | |
| 517 'build_config': 'Release', | |
| 518 # This bot is a one-off and doesn't have similar slaves in the | |
| 519 # swarming pool. | |
| 520 'swarming': False, | |
| 521 'os_type': 'linux', | |
| 522 }, | |
| 523 'Linux Debug (New Intel)': { | |
| 524 'swarming_dimensions': [ | |
| 525 { | |
| 526 'gpu': '8086:0412', | |
| 527 'os': 'Linux' | |
| 528 }, | |
| 529 ], | |
| 530 'build_config': 'Debug', | |
| 531 # This bot is a one-off and doesn't have similar slaves in the | |
| 532 # swarming pool. | |
| 533 'swarming': False, | |
| 534 'os_type': 'linux', | |
| 535 }, | |
| 536 'Linux Release (Intel HD 530)': { | 497 'Linux Release (Intel HD 530)': { |
| 537 'swarming_dimensions': [ | 498 'swarming_dimensions': [ |
| 538 { | 499 { |
| 539 'gpu': '8086:1912', | 500 'gpu': '8086:1912', |
| 540 'os': 'Linux' | 501 'os': 'Linux' |
| 541 }, | 502 }, |
| 542 ], | 503 ], |
| 543 'build_config': 'Release', | 504 'build_config': 'Release', |
| 544 # This bot is a one-off and doesn't have similar slaves in the | 505 # This bot is a one-off and doesn't have similar slaves in the |
| 545 # swarming pool. | 506 # swarming pool. |
| (...skipping 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1740 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1701 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1741 fp.write('\n') | 1702 fp.write('\n') |
| 1742 | 1703 |
| 1743 def main(): | 1704 def main(): |
| 1744 generate_all_tests(FYI_WATERFALL, True) | 1705 generate_all_tests(FYI_WATERFALL, True) |
| 1745 generate_all_tests(WATERFALL, False) | 1706 generate_all_tests(WATERFALL, False) |
| 1746 return 0 | 1707 return 0 |
| 1747 | 1708 |
| 1748 if __name__ == "__main__": | 1709 if __name__ == "__main__": |
| 1749 sys.exit(main()) | 1710 sys.exit(main()) |
| OLD | NEW |