| 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 'Mac 10.10 Retina Debug (AMD)': { | 328 'Mac 10.10 Retina Debug (AMD)': { |
| 329 'swarming_dimensions': { | 329 'swarming_dimensions': { |
| 330 'gpu': '1002:6821', | 330 'gpu': '1002:6821', |
| 331 'hidpi': '1', | 331 'hidpi': '1', |
| 332 'os': 'Mac-10.10' | 332 'os': 'Mac-10.10' |
| 333 }, | 333 }, |
| 334 'build_config': 'Debug', | 334 'build_config': 'Debug', |
| 335 'swarming': True, | 335 'swarming': True, |
| 336 'os_type': 'mac', | 336 'os_type': 'mac', |
| 337 }, | 337 }, |
| 338 'Mac Retina Release (AMD)': { | 338 'Mac 10.11 Retina Release (AMD)': { |
| 339 'swarming_dimensions': { | 339 'swarming_dimensions': { |
| 340 'gpu': '1002:6821', | 340 'gpu': '1002:6821', |
| 341 'hidpi': '1', | 341 'hidpi': '1', |
| 342 'os': 'Mac-10.11' | 342 'os': 'Mac-10.11' |
| 343 }, | 343 }, |
| 344 'build_config': 'Release', | 344 'build_config': 'Release', |
| 345 # This bot is a one-off for testing purposes. | 345 # This bot is a one-off for testing purposes. |
| 346 'swarming': False, | 346 'swarming': False, |
| 347 'os_type': 'mac', | 347 'os_type': 'mac', |
| 348 }, | 348 }, |
| (...skipping 924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1273 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1273 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1274 fp.write('\n') | 1274 fp.write('\n') |
| 1275 | 1275 |
| 1276 def main(): | 1276 def main(): |
| 1277 generate_all_tests(FYI_WATERFALL, True) | 1277 generate_all_tests(FYI_WATERFALL, True) |
| 1278 generate_all_tests(WATERFALL, False) | 1278 generate_all_tests(WATERFALL, False) |
| 1279 return 0 | 1279 return 0 |
| 1280 | 1280 |
| 1281 if __name__ == "__main__": | 1281 if __name__ == "__main__": |
| 1282 sys.exit(main()) | 1282 sys.exit(main()) |
| OLD | NEW |