| 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 'gpu': '8086:0412', | 235 'gpu': '8086:0412', |
| 236 'os': 'Windows-2008ServerR2-SP1' | 236 'os': 'Windows-2008ServerR2-SP1' |
| 237 }, | 237 }, |
| 238 ], | 238 ], |
| 239 'build_config': 'Release', | 239 'build_config': 'Release', |
| 240 # This bot is a one-off and doesn't have similar slaves in the | 240 # This bot is a one-off and doesn't have similar slaves in the |
| 241 # swarming pool. | 241 # swarming pool. |
| 242 'swarming': False, | 242 'swarming': False, |
| 243 'os_type': 'win', | 243 'os_type': 'win', |
| 244 }, | 244 }, |
| 245 'Win10 Release (New Intel)': { |
| 246 'swarming_dimensions': [ |
| 247 { |
| 248 'gpu': '8086:0412', |
| 249 'os': 'Windows-10-10586', |
| 250 }, |
| 251 ], |
| 252 'build_config': 'Release', |
| 253 # This bot is a one-off and doesn't have similar slaves in the |
| 254 # swarming pool. |
| 255 'swarming': False, |
| 256 'os_type': 'win', |
| 257 }, |
| 245 'Win7 Debug (New Intel)': { | 258 'Win7 Debug (New Intel)': { |
| 246 'swarming_dimensions': [ | 259 'swarming_dimensions': [ |
| 247 { | 260 { |
| 248 'gpu': '8086:0412', | 261 'gpu': '8086:0412', |
| 249 'os': 'Windows-2008ServerR2-SP1' | 262 'os': 'Windows-2008ServerR2-SP1' |
| 250 }, | 263 }, |
| 251 ], | 264 ], |
| 252 'build_config': 'Debug', | 265 'build_config': 'Debug', |
| 253 # This bot is a one-off and doesn't have similar slaves in the | 266 # This bot is a one-off and doesn't have similar slaves in the |
| 254 # swarming pool. | 267 # swarming pool. |
| 255 'swarming': False, | 268 'swarming': False, |
| 256 'os_type': 'win', | 269 'os_type': 'win', |
| 257 }, | 270 }, |
| 258 'Win7 Release (AMD R7 240)': { | 271 'Win10 Debug (New Intel)': { |
| 259 'swarming_dimensions': [ | 272 'swarming_dimensions': [ |
| 260 { | 273 { |
| 261 'gpu': '1002:6613', | 274 'gpu': '8086:0412', |
| 262 'os': 'Windows-2008ServerR2-SP1' | 275 'os': 'Windows-10-10586', |
| 263 }, | 276 }, |
| 264 ], | 277 ], |
| 265 'build_config': 'Release', | 278 'build_config': 'Debug', |
| 266 # This bot is a one-off and doesn't have similar slaves in the | 279 # This bot is a one-off and doesn't have similar slaves in the |
| 267 # swarming pool. | 280 # swarming pool. |
| 268 'swarming': False, | 281 'swarming': False, |
| 269 'os_type': 'win', | 282 'os_type': 'win', |
| 270 }, | 283 }, |
| 271 'Win7 Release (AMD R5 230)': { | 284 'Win7 Release (AMD R5 230)': { |
| 272 'swarming_dimensions': [ | 285 'swarming_dimensions': [ |
| 273 { | 286 { |
| 274 'gpu': '1002:6779', | 287 'gpu': '1002:6779', |
| 275 'os': 'Windows-2008ServerR2-SP1' | 288 'os': 'Windows-2008ServerR2-SP1' |
| (...skipping 1233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1509 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1522 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1510 fp.write('\n') | 1523 fp.write('\n') |
| 1511 | 1524 |
| 1512 def main(): | 1525 def main(): |
| 1513 generate_all_tests(FYI_WATERFALL, True) | 1526 generate_all_tests(FYI_WATERFALL, True) |
| 1514 generate_all_tests(WATERFALL, False) | 1527 generate_all_tests(WATERFALL, False) |
| 1515 return 0 | 1528 return 0 |
| 1516 | 1529 |
| 1517 if __name__ == "__main__": | 1530 if __name__ == "__main__": |
| 1518 sys.exit(main()) | 1531 sys.exit(main()) |
| OLD | NEW |