Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1016)

Side by Side Diff: content/test/gpu/generate_buildbot_json.py

Issue 2305453004: Enable angle_deqp_gles2_tests on Nexus 5X. (Closed)
Patch Set: build deqp on Nexus 5X + default swarming off Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | testing/buildbot/chromium.gpu.fyi.json » ('j') | tools/mb/mb_config.pyl » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 'os': 'Windows-2008ServerR2-SP1' 588 'os': 'Windows-2008ServerR2-SP1'
589 } 589 }
590 ], 590 ],
591 }, 591 },
592 ], 592 ],
593 }, 593 },
594 594
595 'angle_deqp_gles2_tests': { 595 'angle_deqp_gles2_tests': {
596 'tester_configs': [ 596 'tester_configs': [
597 { 597 {
598 'allow_on_android': True,
598 'fyi_only': True, 599 'fyi_only': True,
599 # Run this on the optional tryservers. 600 # Run this on the optional tryservers.
600 'run_on_optional': True, 601 'run_on_optional': True,
601 # Run only on the Win7 and Linux Release NVIDIA 32- and 64-bit bots 602 # Run only on the Win7 and Linux Release NVIDIA 32- and 64-bit bots
602 # (and trybots) for the time being, at least until more capacity is 603 # (and trybots) for the time being, at least until more capacity is
603 # added. Also run on the AMD R7 240 bots. 604 # added. Also run on the AMD R7 240 bots.
604 'build_configs': ['Release', 'Release_x64'], 605 # Also run on Nexus 5X swarmed bots.
606 'build_configs': ['Release', 'Release_x64', 'android-chromium'],
605 'swarming_dimension_sets': [ 607 'swarming_dimension_sets': [
606 { 608 {
607 'gpu': '10de:104a', 609 'gpu': '10de:104a',
608 'os': 'Windows-2008ServerR2-SP1' 610 'os': 'Windows-2008ServerR2-SP1'
609 }, 611 },
610 { 612 {
611 'gpu': '1002:6613', 613 'gpu': '1002:6613',
612 'os': 'Windows-2008ServerR2-SP1' 614 'os': 'Windows-2008ServerR2-SP1'
613 }, 615 },
614 { 616 {
615 'gpu': '10de:104a', 617 'gpu': '10de:104a',
616 'os': 'Linux' 618 'os': 'Linux'
617 } 619 },
620 {
621 'device_type': 'bullhead',
622 'device_os': 'M',
623 'os': 'Android'
624 },
618 ], 625 ],
619 }, 626 },
620 ], 627 ],
621 'swarming': { 628 'desktop_swarming': {
622 'shards': 4, 629 'shards': 4,
623 } 630 }
624 }, 631 },
625 632
626 'angle_deqp_gles3_tests': { 633 'angle_deqp_gles3_tests': {
627 'tester_configs': [ 634 'tester_configs': [
628 { 635 {
629 'fyi_only': True, 636 'fyi_only': True,
630 # TODO(jmadill): Run this on the optional tryservers. 637 # TODO(jmadill): Run this on the optional tryservers.
631 'run_on_optional': False, 638 'run_on_optional': False,
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 }, 790 },
784 } 791 }
785 792
786 # This requires a hack because the isolate's name is different than 793 # This requires a hack because the isolate's name is different than
787 # the executable's name. On the few non-swarmed testers, this causes 794 # the executable's name. On the few non-swarmed testers, this causes
788 # the executable to not be found. It would be better if the Chromium 795 # the executable to not be found. It would be better if the Chromium
789 # recipe supported running isolates locally. crbug.com/581953 796 # recipe supported running isolates locally. crbug.com/581953
790 797
791 NON_SWARMED_GTESTS = { 798 NON_SWARMED_GTESTS = {
792 'tab_capture_end2end_tests': { 799 'tab_capture_end2end_tests': {
800 'swarming': {
801 'can_use_on_swarming_builders': False
802 },
793 'test': 'browser_tests', 803 'test': 'browser_tests',
794 'args': [ 804 'args': [
795 '--enable-gpu', 805 '--enable-gpu',
796 '--test-launcher-jobs=1', 806 '--test-launcher-jobs=1',
797 '--gtest_filter=CastStreamingApiTestWithPixelOutput.EndToEnd*:' + \ 807 '--gtest_filter=CastStreamingApiTestWithPixelOutput.EndToEnd*:' + \
798 'TabCaptureApiPixelTest.EndToEnd*' 808 'TabCaptureApiPixelTest.EndToEnd*'
799 ] 809 ]
800 } 810 }
801 } 811 }
802 812
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
1154 } 1164 }
1155 ] 1165 ]
1156 }) 1166 })
1157 if 'desktop_args' in result: 1167 if 'desktop_args' in result:
1158 if not is_android(tester_config): 1168 if not is_android(tester_config):
1159 if not 'args' in result: 1169 if not 'args' in result:
1160 result['args'] = [] 1170 result['args'] = []
1161 result['args'] += result['desktop_args'] 1171 result['args'] += result['desktop_args']
1162 # Don't put the desktop args in the JSON. 1172 # Don't put the desktop args in the JSON.
1163 result.pop('desktop_args') 1173 result.pop('desktop_args')
1174 if 'desktop_swarming' in result:
1175 if not is_android(tester_config):
1176 result['swarming'].update(result['desktop_swarming'])
1177 # Don't put the desktop_swarming in the JSON.
1178 result.pop('desktop_swarming')
1164 1179
1165 # This flag only has an effect on the Linux bots that run tests 1180 # This flag only has an effect on the Linux bots that run tests
1166 # locally (as opposed to via Swarming), which are only those couple 1181 # locally (as opposed to via Swarming), which are only those couple
1167 # on the chromium.gpu.fyi waterfall. Still, there is no harm in 1182 # on the chromium.gpu.fyi waterfall. Still, there is no harm in
1168 # specifying it everywhere. 1183 # specifying it everywhere.
1169 result['use_xvfb'] = False 1184 result['use_xvfb'] = False
1170 return result 1185 return result
1171 1186
1172 def generate_telemetry_test(tester_name, tester_config, 1187 def generate_telemetry_test(tester_name, tester_config,
1173 test, test_config, is_fyi, 1188 test, test_config, is_fyi,
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
1278 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) 1293 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True)
1279 fp.write('\n') 1294 fp.write('\n')
1280 1295
1281 def main(): 1296 def main():
1282 generate_all_tests(FYI_WATERFALL, True) 1297 generate_all_tests(FYI_WATERFALL, True)
1283 generate_all_tests(WATERFALL, False) 1298 generate_all_tests(WATERFALL, False)
1284 return 0 1299 return 0
1285 1300
1286 if __name__ == "__main__": 1301 if __name__ == "__main__":
1287 sys.exit(main()) 1302 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | testing/buildbot/chromium.gpu.fyi.json » ('j') | tools/mb/mb_config.pyl » ('J')

Powered by Google App Engine
This is Rietveld 408576698