| 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 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 }, | 553 }, |
| 554 { | 554 { |
| 555 'gpu': '10de:104a', | 555 'gpu': '10de:104a', |
| 556 'os': 'Linux' | 556 'os': 'Linux' |
| 557 } | 557 } |
| 558 ], | 558 ], |
| 559 }, | 559 }, |
| 560 ], | 560 ], |
| 561 'swarming': { | 561 'swarming': { |
| 562 'shards': 4, | 562 'shards': 4, |
| 563 'priority_adjustment': 'lower', | |
| 564 'expiration': 7200 | |
| 565 } | 563 } |
| 566 }, | 564 }, |
| 567 | 565 |
| 568 'angle_deqp_gles3_tests': { | 566 'angle_deqp_gles3_tests': { |
| 569 'tester_configs': [ | 567 'tester_configs': [ |
| 570 { | 568 { |
| 571 'fyi_only': True, | 569 'fyi_only': True, |
| 572 # TODO(jmadill): Run this on the optional tryservers. | 570 # TODO(jmadill): Run this on the optional tryservers. |
| 573 'run_on_optional': False, | 571 'run_on_optional': False, |
| 574 # Run only on the Win7 and Linux Release NVIDIA 32-bit bots | 572 # Run only on the Win7 and Linux Release NVIDIA 32-bit bots |
| 575 # (and trybots) for the time being, at least until more capacity is | 573 # (and trybots) for the time being, at least until more capacity is |
| 576 # added. | 574 # added. |
| 577 'build_configs': ['Release'], | 575 'build_configs': ['Release'], |
| 578 'swarming_dimension_sets': [ | 576 'swarming_dimension_sets': [ |
| 579 { | 577 { |
| 580 'gpu': '10de:104a', | 578 'gpu': '10de:104a', |
| 581 'os': 'Windows-2008ServerR2-SP1' | 579 'os': 'Windows-2008ServerR2-SP1' |
| 582 }, | 580 }, |
| 583 { | 581 { |
| 584 'gpu': '10de:104a', | 582 'gpu': '10de:104a', |
| 585 'os': 'Linux' | 583 'os': 'Linux' |
| 586 } | 584 } |
| 587 ], | 585 ], |
| 588 } | 586 } |
| 589 ], | 587 ], |
| 590 'swarming': { | 588 'swarming': { |
| 591 'shards': 12, | 589 'shards': 12, |
| 592 'priority_adjustment': 'lower', | |
| 593 'expiration': 7200 | |
| 594 } | 590 } |
| 595 }, | 591 }, |
| 596 | 592 |
| 597 # Until we have more capacity, run angle_end2end_tests only on the | 593 # Until we have more capacity, run angle_end2end_tests only on the |
| 598 # FYI waterfall, the ANGLE trybots (which mirror the FYI waterfall), | 594 # FYI waterfall, the ANGLE trybots (which mirror the FYI waterfall), |
| 599 # and the optional trybots (mainly used during ANGLE rolls). | 595 # and the optional trybots (mainly used during ANGLE rolls). |
| 600 'angle_end2end_tests': { | 596 'angle_end2end_tests': { |
| 601 'tester_configs': [ | 597 'tester_configs': [ |
| 602 { | 598 { |
| 603 'fyi_only': True, | 599 'fyi_only': True, |
| (...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1132 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1128 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1133 fp.write('\n') | 1129 fp.write('\n') |
| 1134 | 1130 |
| 1135 def main(): | 1131 def main(): |
| 1136 generate_all_tests(FYI_WATERFALL, True) | 1132 generate_all_tests(FYI_WATERFALL, True) |
| 1137 generate_all_tests(WATERFALL, False) | 1133 generate_all_tests(WATERFALL, False) |
| 1138 return 0 | 1134 return 0 |
| 1139 | 1135 |
| 1140 if __name__ == "__main__": | 1136 if __name__ == "__main__": |
| 1141 sys.exit(main()) | 1137 sys.exit(main()) |
| OLD | NEW |