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 1847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1858 { | 1858 { |
1859 'names': [ | 1859 'names': [ |
1860 'Linux ChromiumOS Ozone (Intel)', | 1860 'Linux ChromiumOS Ozone (Intel)', |
1861 ], | 1861 ], |
1862 }, | 1862 }, |
1863 ], | 1863 ], |
1864 'target_name': 'webgl_conformance', | 1864 'target_name': 'webgl_conformance', |
1865 'extra_browser_args': [ | 1865 'extra_browser_args': [ |
1866 '--use-angle=d3d11', | 1866 '--use-angle=d3d11', |
1867 '--use-passthrough-cmd-decoder', | 1867 '--use-passthrough-cmd-decoder', |
1868 # TODO(geofflang): Remove --disable-es3-apis once crbug.com/671217 is | |
1869 # complete. | |
1870 '--disable-es3-apis', | |
1871 # TODO(geofflang): --disable-es3-gl-context is required because of | |
1872 # crbug.com/680522 | |
1873 '--disable-es3-gl-context', | |
1874 ], | 1868 ], |
1875 'asan_args': ['--is-asan'], | 1869 'asan_args': ['--is-asan'], |
1876 }, | 1870 }, |
1877 'webgl_conformance_gl_passthrough': { | 1871 'webgl_conformance_gl_passthrough': { |
1878 'tester_configs': [ | 1872 'tester_configs': [ |
1879 { | 1873 { |
1880 # Run this on the FYI waterfall and optional tryservers. | 1874 # Run this on the FYI waterfall and optional tryservers. |
1881 'predicate': Predicates.FYI_AND_OPTIONAL, | 1875 'predicate': Predicates.FYI_AND_OPTIONAL, |
1882 'os_types': ['linux'], | 1876 'os_types': ['linux'], |
1883 'disabled_instrumentation_types': ['tsan'], | 1877 'disabled_instrumentation_types': ['tsan'], |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2009 { | 2003 { |
2010 'names': [ | 2004 'names': [ |
2011 'Linux ChromiumOS Ozone (Intel)', | 2005 'Linux ChromiumOS Ozone (Intel)', |
2012 ], | 2006 ], |
2013 }, | 2007 }, |
2014 ], | 2008 ], |
2015 'target_name': 'webgl_conformance', | 2009 'target_name': 'webgl_conformance', |
2016 'extra_browser_args': [ | 2010 'extra_browser_args': [ |
2017 '--use-angle=gl', | 2011 '--use-angle=gl', |
2018 ], | 2012 ], |
| 2013 }, |
| 2014 'webgl2_conformance_d3d11_passthrough_tests': { |
| 2015 'tester_configs': [ |
| 2016 { |
| 2017 # The WebGL 2.0 conformance tests take over an hour to run on |
| 2018 # the Debug bots, which is too long. |
| 2019 'build_configs': ['Release'], |
| 2020 'predicate': Predicates.FYI_ONLY, |
| 2021 # Only run on the NVIDIA Release Windows bots. |
| 2022 'swarming_dimension_sets': [ |
| 2023 { |
| 2024 'gpu': '10de:104a', |
| 2025 'os': 'Windows-2008ServerR2-SP1' |
| 2026 }, |
| 2027 ], |
| 2028 'disabled_instrumentation_types': ['tsan'], |
| 2029 }, |
| 2030 ], |
| 2031 'target_name': 'webgl_conformance', |
| 2032 'extra_browser_args': [ |
| 2033 '--use-angle=d3d11', |
| 2034 '--use-passthrough-cmd-decoder', |
| 2035 ], |
2019 'args': [ | 2036 'args': [ |
2020 '--webgl-conformance-version=2.0.1', | 2037 '--webgl-conformance-version=2.0.1', |
2021 # The current working directory when run via isolate is | 2038 # The current working directory when run via isolate is |
2022 # out/Debug or out/Release. Reference this file relatively to | 2039 # out/Debug or out/Release. Reference this file relatively to |
2023 # it. | 2040 # it. |
2024 '--read-abbreviated-json-results-from=' + \ | 2041 '--read-abbreviated-json-results-from=' + \ |
2025 '../../content/test/data/gpu/webgl2_conformance_tests_output.json', | 2042 '../../content/test/data/gpu/webgl2_conformance_tests_output.json', |
2026 ], | 2043 ], |
2027 'asan_args': ['--is-asan'], | 2044 'asan_args': ['--is-asan'], |
2028 'swarming': { | 2045 'swarming': { |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2379 install_parent_links(WATERFALL) | 2396 install_parent_links(WATERFALL) |
2380 install_parent_links(V8_FYI_WATERFALL) | 2397 install_parent_links(V8_FYI_WATERFALL) |
2381 | 2398 |
2382 generate_all_tests(FYI_WATERFALL, 'chromium.gpu.fyi.json') | 2399 generate_all_tests(FYI_WATERFALL, 'chromium.gpu.fyi.json') |
2383 generate_all_tests(WATERFALL, 'chromium.gpu.json') | 2400 generate_all_tests(WATERFALL, 'chromium.gpu.json') |
2384 generate_all_tests(V8_FYI_WATERFALL, 'client.v8.fyi.json') | 2401 generate_all_tests(V8_FYI_WATERFALL, 'client.v8.fyi.json') |
2385 return 0 | 2402 return 0 |
2386 | 2403 |
2387 if __name__ == "__main__": | 2404 if __name__ == "__main__": |
2388 sys.exit(main()) | 2405 sys.exit(main()) |
OLD | NEW |