| 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 'swarming_dimensions': { | 216 'swarming_dimensions': { |
| 217 'gpu': '10de:0f02', | 217 'gpu': '10de:0f02', |
| 218 'os': 'Windows-2008ServerR2-SP1' | 218 'os': 'Windows-2008ServerR2-SP1' |
| 219 }, | 219 }, |
| 220 'build_config': 'Release', | 220 'build_config': 'Release', |
| 221 # This bot is a one-off and doesn't have similar slaves in the | 221 # This bot is a one-off and doesn't have similar slaves in the |
| 222 # swarming pool. | 222 # swarming pool. |
| 223 'swarming': False, | 223 'swarming': False, |
| 224 'os_type': 'win', | 224 'os_type': 'win', |
| 225 }, | 225 }, |
| 226 'Win7 Release (New Intel)': { |
| 227 'swarming_dimensions': { |
| 228 'gpu': '8086:0412', |
| 229 'os': 'Windows-2008ServerR2-SP1' |
| 230 }, |
| 231 'build_config': 'Release', |
| 232 # This bot is a one-off and doesn't have similar slaves in the |
| 233 # swarming pool. |
| 234 'swarming': False, |
| 235 'os_type': 'win', |
| 236 }, |
| 237 'Win7 Debug (New Intel)': { |
| 238 'swarming_dimensions': { |
| 239 'gpu': '8086:0412', |
| 240 'os': 'Windows-2008ServerR2-SP1' |
| 241 }, |
| 242 'build_config': 'Debug', |
| 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 }, |
| 226 'Win7 x64 Release (NVIDIA)': { | 248 'Win7 x64 Release (NVIDIA)': { |
| 227 'swarming_dimensions': { | 249 'swarming_dimensions': { |
| 228 'gpu': '10de:104a', | 250 'gpu': '10de:104a', |
| 229 'os': 'Windows-2008ServerR2-SP1' | 251 'os': 'Windows-2008ServerR2-SP1' |
| 230 }, | 252 }, |
| 231 'build_config': 'Release_x64', | 253 'build_config': 'Release_x64', |
| 232 'swarming': True, | 254 'swarming': True, |
| 233 'os_type': 'win', | 255 'os_type': 'win', |
| 234 }, | 256 }, |
| 235 'Win7 x64 Debug (NVIDIA)': { | 257 'Win7 x64 Debug (NVIDIA)': { |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 }, | 387 }, |
| 366 'Linux Debug (NVIDIA)': { | 388 'Linux Debug (NVIDIA)': { |
| 367 'swarming_dimensions': { | 389 'swarming_dimensions': { |
| 368 'gpu': '10de:104a', | 390 'gpu': '10de:104a', |
| 369 'os': 'Linux' | 391 'os': 'Linux' |
| 370 }, | 392 }, |
| 371 'build_config': 'Debug', | 393 'build_config': 'Debug', |
| 372 'swarming': True, | 394 'swarming': True, |
| 373 'os_type': 'linux', | 395 'os_type': 'linux', |
| 374 }, | 396 }, |
| 397 'Linux Release (New Intel)': { |
| 398 'swarming_dimensions': { |
| 399 'gpu': '8086:0412', |
| 400 'os': 'Linux' |
| 401 }, |
| 402 'build_config': 'Release', |
| 403 # This bot is a one-off and doesn't have similar slaves in the |
| 404 # swarming pool. |
| 405 'swarming': False, |
| 406 'os_type': 'linux', |
| 407 }, |
| 408 'Linux Debug (New Intel)': { |
| 409 'swarming_dimensions': { |
| 410 'gpu': '8086:0412', |
| 411 'os': 'Linux' |
| 412 }, |
| 413 'build_config': 'Debug', |
| 414 # This bot is a one-off and doesn't have similar slaves in the |
| 415 # swarming pool. |
| 416 'swarming': False, |
| 417 'os_type': 'linux', |
| 418 }, |
| 375 | 419 |
| 376 # The following "optional" testers don't actually exist on the | 420 # The following "optional" testers don't actually exist on the |
| 377 # waterfall. They are present here merely to specify additional | 421 # waterfall. They are present here merely to specify additional |
| 378 # tests which aren't on the main tryservers. Unfortunately we need | 422 # tests which aren't on the main tryservers. Unfortunately we need |
| 379 # a completely different (redundant) bot specification to handle | 423 # a completely different (redundant) bot specification to handle |
| 380 # this. | 424 # this. |
| 381 'Optional Win7 Release (NVIDIA)': { | 425 'Optional Win7 Release (NVIDIA)': { |
| 382 'swarming_dimensions': { | 426 'swarming_dimensions': { |
| 383 'gpu': '10de:104a', | 427 'gpu': '10de:104a', |
| 384 'os': 'Windows-2008ServerR2-SP1' | 428 'os': 'Windows-2008ServerR2-SP1' |
| (...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 907 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 951 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 908 fp.write('\n') | 952 fp.write('\n') |
| 909 | 953 |
| 910 def main(): | 954 def main(): |
| 911 generate_all_tests(FYI_WATERFALL, True) | 955 generate_all_tests(FYI_WATERFALL, True) |
| 912 generate_all_tests(WATERFALL, False) | 956 generate_all_tests(WATERFALL, False) |
| 913 return 0 | 957 return 0 |
| 914 | 958 |
| 915 if __name__ == "__main__": | 959 if __name__ == "__main__": |
| 916 sys.exit(main()) | 960 sys.exit(main()) |
| OLD | NEW |