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 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 'gpu': '0000:0000', | 682 'gpu': '0000:0000', |
683 'os': 'Android' | 683 'os': 'Android' |
684 }, | 684 }, |
685 ], | 685 ], |
686 'build_config': 'android-chromium', | 686 'build_config': 'android-chromium', |
687 # This bot is a one-off and doesn't have similar slaves in the | 687 # This bot is a one-off and doesn't have similar slaves in the |
688 # swarming pool. | 688 # swarming pool. |
689 'swarming': False, | 689 'swarming': False, |
690 'os_type': 'android', | 690 'os_type': 'android', |
691 }, | 691 }, |
| 692 'Android Release (NVIDIA Shield)': { |
| 693 'swarming_dimensions': [ |
| 694 { |
| 695 # There are no PCI IDs on Android. |
| 696 # This is a hack to get the script working. |
| 697 'gpu': '0000:0000', |
| 698 'os': 'Android' |
| 699 }, |
| 700 ], |
| 701 'build_config': 'android-chromium', |
| 702 # This bot is a one-off and doesn't have similar slaves in the |
| 703 # swarming pool. |
| 704 'swarming': False, |
| 705 'os_type': 'android', |
| 706 }, |
692 | 707 |
693 # The following "optional" testers don't actually exist on the | 708 # The following "optional" testers don't actually exist on the |
694 # waterfall. They are present here merely to specify additional | 709 # waterfall. They are present here merely to specify additional |
695 # tests which aren't on the main tryservers. Unfortunately we need | 710 # tests which aren't on the main tryservers. Unfortunately we need |
696 # a completely different (redundant) bot specification to handle | 711 # a completely different (redundant) bot specification to handle |
697 # this. | 712 # this. |
698 'Optional Win7 Release (NVIDIA)': { | 713 'Optional Win7 Release (NVIDIA)': { |
699 'swarming_dimensions': [ | 714 'swarming_dimensions': [ |
700 { | 715 { |
701 'gpu': '10de:104a', | 716 'gpu': '10de:104a', |
(...skipping 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2005 install_parent_links(WATERFALL) | 2020 install_parent_links(WATERFALL) |
2006 install_parent_links(V8_FYI_WATERFALL) | 2021 install_parent_links(V8_FYI_WATERFALL) |
2007 | 2022 |
2008 generate_all_tests(FYI_WATERFALL, 'chromium.gpu.fyi.json') | 2023 generate_all_tests(FYI_WATERFALL, 'chromium.gpu.fyi.json') |
2009 generate_all_tests(WATERFALL, 'chromium.gpu.json') | 2024 generate_all_tests(WATERFALL, 'chromium.gpu.json') |
2010 generate_all_tests(V8_FYI_WATERFALL, 'client.v8.fyi.json') | 2025 generate_all_tests(V8_FYI_WATERFALL, 'client.v8.fyi.json') |
2011 return 0 | 2026 return 0 |
2012 | 2027 |
2013 if __name__ == "__main__": | 2028 if __name__ == "__main__": |
2014 sys.exit(main()) | 2029 sys.exit(main()) |
OLD | NEW |