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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 'swarming_dimensions': { | 401 'swarming_dimensions': { |
402 'gpu': '8086:0412', | 402 'gpu': '8086:0412', |
403 'os': 'Linux' | 403 'os': 'Linux' |
404 }, | 404 }, |
405 'build_config': 'Debug', | 405 'build_config': 'Debug', |
406 # This bot is a one-off and doesn't have similar slaves in the | 406 # This bot is a one-off and doesn't have similar slaves in the |
407 # swarming pool. | 407 # swarming pool. |
408 'swarming': False, | 408 'swarming': False, |
409 'os_type': 'linux', | 409 'os_type': 'linux', |
410 }, | 410 }, |
| 411 'Linux Release (AMD R7 240)': { |
| 412 'swarming_dimensions': { |
| 413 'gpu': '1002:6613', |
| 414 'os': 'Linux' |
| 415 }, |
| 416 'build_config': 'Release', |
| 417 # This bot is a one-off and doesn't have similar slaves in the |
| 418 # swarming pool. |
| 419 'swarming': False, |
| 420 'os_type': 'linux', |
| 421 }, |
411 'Android Release (Nexus 5)': { | 422 'Android Release (Nexus 5)': { |
412 'swarming_dimensions': { | 423 'swarming_dimensions': { |
413 # There are no PCI IDs on Android. | 424 # There are no PCI IDs on Android. |
414 # This is a hack to get the script working. | 425 # This is a hack to get the script working. |
415 'gpu': '0000:0000', | 426 'gpu': '0000:0000', |
416 'os': 'Android' | 427 'os': 'Android' |
417 }, | 428 }, |
418 'build_config': 'android-chromium', | 429 'build_config': 'android-chromium', |
419 # This bot is a one-off and doesn't have similar slaves in the | 430 # This bot is a one-off and doesn't have similar slaves in the |
420 # swarming pool. | 431 # swarming pool. |
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1251 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1262 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
1252 fp.write('\n') | 1263 fp.write('\n') |
1253 | 1264 |
1254 def main(): | 1265 def main(): |
1255 generate_all_tests(FYI_WATERFALL, True) | 1266 generate_all_tests(FYI_WATERFALL, True) |
1256 generate_all_tests(WATERFALL, False) | 1267 generate_all_tests(WATERFALL, False) |
1257 return 0 | 1268 return 0 |
1258 | 1269 |
1259 if __name__ == "__main__": | 1270 if __name__ == "__main__": |
1260 sys.exit(main()) | 1271 sys.exit(main()) |
OLD | NEW |