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

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

Issue 2831243002: Revert of Address some TODO(GYP_GONE)s (Closed)
Patch Set: Created 3 years, 8 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 | « chrome/test/BUILD.gn ('k') | sandbox/linux/BUILD.gn » ('j') | no next file with comments »
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 1452 matching lines...) Expand 10 before | Expand all | Expand 10 after
1463 ], 1463 ],
1464 # Don't run these tests on Android. 1464 # Don't run these tests on Android.
1465 'disabled_tester_configs': [ 1465 'disabled_tester_configs': [
1466 { 1466 {
1467 'names': [ 1467 'names': [
1468 'Linux ChromiumOS Ozone (Intel)', 1468 'Linux ChromiumOS Ozone (Intel)',
1469 ], 1469 ],
1470 'os_types': ['android'], 1470 'os_types': ['android'],
1471 }, 1471 },
1472 ], 1472 ],
1473 'override_compile_targets': [
1474 'tab_capture_end2end_tests_run',
1475 ],
1473 }, 1476 },
1474 'video_decode_accelerator_d3d11_unittest': { 1477 'video_decode_accelerator_d3d11_unittest': {
1475 'tester_configs': [ 1478 'tester_configs': [
1476 { 1479 {
1477 'os_types': ['win'] 1480 'os_types': ['win']
1478 }, 1481 },
1479 ], 1482 ],
1480 'args': [ 1483 'args': [
1481 '--use-angle=d3d11', 1484 '--use-angle=d3d11',
1482 '--use-test-data-path', 1485 '--use-test-data-path',
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
2303 extra_browser_args = ['--enable-logging=stderr', '--js-flags=--expose-gc'] 2306 extra_browser_args = ['--enable-logging=stderr', '--js-flags=--expose-gc']
2304 benchmark_name = test_config.get('target_name') or test 2307 benchmark_name = test_config.get('target_name') or test
2305 prefix_args = [ 2308 prefix_args = [
2306 benchmark_name, 2309 benchmark_name,
2307 '--show-stdout', 2310 '--show-stdout',
2308 '--browser=%s' % tester_config['build_config'].lower() 2311 '--browser=%s' % tester_config['build_config'].lower()
2309 ] 2312 ]
2310 return generate_isolated_test(tester_name, tester_config, test, 2313 return generate_isolated_test(tester_name, tester_config, test,
2311 test_config, extra_browser_args, 2314 test_config, extra_browser_args,
2312 'telemetry_gpu_integration_test', 2315 'telemetry_gpu_integration_test',
2313 ['telemetry_gpu_integration_test'], 2316 ['telemetry_gpu_integration_test_run'],
2314 prefix_args) 2317 prefix_args)
2315 2318
2316 def generate_telemetry_tests(tester_name, tester_config, 2319 def generate_telemetry_tests(tester_name, tester_config,
2317 test_dictionary): 2320 test_dictionary):
2318 isolated_scripts = [] 2321 isolated_scripts = []
2319 for test_name, test_config in sorted(test_dictionary.iteritems()): 2322 for test_name, test_config in sorted(test_dictionary.iteritems()):
2320 test = generate_telemetry_test( 2323 test = generate_telemetry_test(
2321 tester_name, tester_config, test_name, test_config) 2324 tester_name, tester_config, test_name, test_config)
2322 if test: 2325 if test:
2323 isolated_scripts.append(test) 2326 isolated_scripts.append(test)
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
2374 install_parent_links(WATERFALL) 2377 install_parent_links(WATERFALL)
2375 install_parent_links(V8_FYI_WATERFALL) 2378 install_parent_links(V8_FYI_WATERFALL)
2376 2379
2377 generate_all_tests(FYI_WATERFALL, 'chromium.gpu.fyi.json') 2380 generate_all_tests(FYI_WATERFALL, 'chromium.gpu.fyi.json')
2378 generate_all_tests(WATERFALL, 'chromium.gpu.json') 2381 generate_all_tests(WATERFALL, 'chromium.gpu.json')
2379 generate_all_tests(V8_FYI_WATERFALL, 'client.v8.fyi.json') 2382 generate_all_tests(V8_FYI_WATERFALL, 'client.v8.fyi.json')
2380 return 0 2383 return 0
2381 2384
2382 if __name__ == "__main__": 2385 if __name__ == "__main__":
2383 sys.exit(main()) 2386 sys.exit(main())
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | sandbox/linux/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698