| 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 }, | 303 }, |
| 304 'Linux Release (NVIDIA)': { | 304 'Linux Release (NVIDIA)': { |
| 305 'swarming_dimensions': { | 305 'swarming_dimensions': { |
| 306 'gpu': '10de:104a', | 306 'gpu': '10de:104a', |
| 307 'os': 'Linux' | 307 'os': 'Linux' |
| 308 }, | 308 }, |
| 309 'build_config': 'Release', | 309 'build_config': 'Release', |
| 310 'swarming': True, | 310 'swarming': True, |
| 311 'os_type': 'linux', | 311 'os_type': 'linux', |
| 312 }, | 312 }, |
| 313 'Linux Release (Intel)': { | |
| 314 'swarming_dimensions': { | |
| 315 'gpu': '8086:041a', | |
| 316 'os': 'Linux' | |
| 317 }, | |
| 318 'build_config': 'Release', | |
| 319 # This bot is a one-off and doesn't have similar slaves in the | |
| 320 # swarming pool. | |
| 321 'swarming': False, | |
| 322 'os_type': 'linux', | |
| 323 }, | |
| 324 'Linux Release (Intel Graphics Stack)': { | 313 'Linux Release (Intel Graphics Stack)': { |
| 325 'swarming_dimensions': { | 314 'swarming_dimensions': { |
| 326 'gpu': '8086:041a', | 315 'gpu': '8086:041a', |
| 327 'os': 'Linux' | 316 'os': 'Linux' |
| 328 }, | 317 }, |
| 329 'build_config': 'Release', | 318 'build_config': 'Release', |
| 330 # This bot is a one-off and doesn't have similar slaves in the | 319 # This bot is a one-off and doesn't have similar slaves in the |
| 331 # swarming pool. | 320 # swarming pool. |
| 332 'swarming': False, | 321 'swarming': False, |
| 333 'os_type': 'linux', | 322 'os_type': 'linux', |
| (...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 842 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 831 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 843 fp.write('\n') | 832 fp.write('\n') |
| 844 | 833 |
| 845 def main(): | 834 def main(): |
| 846 generate_all_tests(FYI_WATERFALL, True) | 835 generate_all_tests(FYI_WATERFALL, True) |
| 847 generate_all_tests(WATERFALL, False) | 836 generate_all_tests(WATERFALL, False) |
| 848 return 0 | 837 return 0 |
| 849 | 838 |
| 850 if __name__ == "__main__": | 839 if __name__ == "__main__": |
| 851 sys.exit(main()) | 840 sys.exit(main()) |
| OLD | NEW |