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 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
642 'gpu': '0000:0000', | 642 'gpu': '0000:0000', |
643 'os': 'Android' | 643 'os': 'Android' |
644 }, | 644 }, |
645 ], | 645 ], |
646 'build_config': 'android-chromium', | 646 'build_config': 'android-chromium', |
647 # This bot is a one-off and doesn't have similar slaves in the | 647 # This bot is a one-off and doesn't have similar slaves in the |
648 # swarming pool. | 648 # swarming pool. |
649 'swarming': False, | 649 'swarming': False, |
650 'os_type': 'android', | 650 'os_type': 'android', |
651 }, | 651 }, |
652 'Android Release (Pixel C)': { | |
653 'swarming_dimensions': [ | |
654 { | |
655 # There are no PCI IDs on Android. | |
656 # This is a hack to get the script working. | |
657 'gpu': '0000:0000', | |
658 'os': 'Android' | |
659 }, | |
660 ], | |
661 'build_config': 'android-chromium', | |
662 # This bot is a one-off and doesn't have similar slaves in the | |
663 # swarming pool. | |
664 'swarming': False, | |
665 'os_type': 'android', | |
666 }, | |
667 'Android Release (NVIDIA Shield TV)': { | 652 'Android Release (NVIDIA Shield TV)': { |
668 'swarming_dimensions': [ | 653 'swarming_dimensions': [ |
669 { | 654 { |
670 # There are no PCI IDs on Android. | 655 # There are no PCI IDs on Android. |
671 # This is a hack to get the script working. | 656 # This is a hack to get the script working. |
672 'gpu': '0000:0000', | 657 'gpu': '0000:0000', |
673 'os': 'Android' | 658 'os': 'Android' |
674 }, | 659 }, |
675 ], | 660 ], |
676 'build_config': 'android-chromium', | 661 'build_config': 'android-chromium', |
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1325 }, | 1310 }, |
1326 # TODO(kbr): content_unittests is killing the Linux GPU swarming | 1311 # TODO(kbr): content_unittests is killing the Linux GPU swarming |
1327 # bots. crbug.com/582094 . It's not useful now anyway until audio | 1312 # bots. crbug.com/582094 . It's not useful now anyway until audio |
1328 # hardware is deployed on the swarming bots, so stop running it | 1313 # hardware is deployed on the swarming bots, so stop running it |
1329 # everywhere. | 1314 # everywhere. |
1330 # 'content_unittests': {}, | 1315 # 'content_unittests': {}, |
1331 'gl_tests': { | 1316 'gl_tests': { |
1332 'disabled_tester_configs': [ | 1317 'disabled_tester_configs': [ |
1333 { | 1318 { |
1334 'names': [ | 1319 'names': [ |
1335 # TODO(kbr): investigate inability to recognize this | |
1336 # configuration in the various tests. crbug.com/624621 | |
1337 'Android Release (Pixel C)', | |
1338 | |
1339 'Linux ChromiumOS Ozone (Intel)', | 1320 'Linux ChromiumOS Ozone (Intel)', |
1340 ], | 1321 ], |
1341 }, | 1322 }, |
1342 ], | 1323 ], |
1343 'desktop_args': ['--use-gpu-in-tests'] | 1324 'desktop_args': ['--use-gpu-in-tests'] |
1344 }, | 1325 }, |
1345 'gl_unittests': { | 1326 'gl_unittests': { |
1346 'disabled_tester_configs': [ | 1327 'disabled_tester_configs': [ |
1347 { | 1328 { |
1348 'names': [ | 1329 'names': [ |
(...skipping 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2398 install_parent_links(WATERFALL) | 2379 install_parent_links(WATERFALL) |
2399 install_parent_links(V8_FYI_WATERFALL) | 2380 install_parent_links(V8_FYI_WATERFALL) |
2400 | 2381 |
2401 generate_all_tests(FYI_WATERFALL, 'chromium.gpu.fyi.json') | 2382 generate_all_tests(FYI_WATERFALL, 'chromium.gpu.fyi.json') |
2402 generate_all_tests(WATERFALL, 'chromium.gpu.json') | 2383 generate_all_tests(WATERFALL, 'chromium.gpu.json') |
2403 generate_all_tests(V8_FYI_WATERFALL, 'client.v8.fyi.json') | 2384 generate_all_tests(V8_FYI_WATERFALL, 'client.v8.fyi.json') |
2404 return 0 | 2385 return 0 |
2405 | 2386 |
2406 if __name__ == "__main__": | 2387 if __name__ == "__main__": |
2407 sys.exit(main()) | 2388 sys.exit(main()) |
OLD | NEW |