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 1612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1623 '--read-abbreviated-json-results-from=' + \ | 1623 '--read-abbreviated-json-results-from=' + \ |
1624 '../../content/test/data/gpu/webgl2_conformance_tests_output.json', | 1624 '../../content/test/data/gpu/webgl2_conformance_tests_output.json', |
1625 ], | 1625 ], |
1626 'asan_args': ['--is-asan'], | 1626 'asan_args': ['--is-asan'], |
1627 'swarming': { | 1627 'swarming': { |
1628 # These tests currently take about an hour and fifteen minutes | 1628 # These tests currently take about an hour and fifteen minutes |
1629 # to run. Split them into roughly 5-minute shards. | 1629 # to run. Split them into roughly 5-minute shards. |
1630 'shards': 15, | 1630 'shards': 15, |
1631 }, | 1631 }, |
1632 }, | 1632 }, |
| 1633 'webgl2_conformance_gl_tests': { |
| 1634 'tester_configs': [ |
| 1635 { |
| 1636 # The WebGL 2.0 conformance tests take over an hour to run on |
| 1637 # the Debug bots, which is too long. |
| 1638 'build_configs': ['Release'], |
| 1639 'predicate': Predicates.FYI_ONLY, |
| 1640 # Only run on the NVIDIA Release Windows bots. |
| 1641 'swarming_dimension_sets': [ |
| 1642 { |
| 1643 'gpu': '10de:104a', |
| 1644 'os': 'Windows-2008ServerR2-SP1' |
| 1645 }, |
| 1646 ], |
| 1647 }, |
| 1648 ], |
| 1649 'target_name': 'webgl_conformance', |
| 1650 'extra_browser_args': [ |
| 1651 '--use-angle=gl', |
| 1652 ], |
| 1653 'args': [ |
| 1654 '--webgl-conformance-version=2.0.1', |
| 1655 # The current working directory when run via isolate is |
| 1656 # out/Debug or out/Release. Reference this file relatively to |
| 1657 # it. |
| 1658 '--read-abbreviated-json-results-from=' + \ |
| 1659 '../../content/test/data/gpu/webgl2_conformance_tests_output.json', |
| 1660 ], |
| 1661 'asan_args': ['--is-asan'], |
| 1662 'swarming': { |
| 1663 # These tests currently take about an hour and fifteen minutes |
| 1664 # to run. Split them into roughly 5-minute shards. |
| 1665 'shards': 15, |
| 1666 }, |
| 1667 }, |
1633 } | 1668 } |
1634 | 1669 |
1635 # These isolated tests don't use telemetry. They need to be placed in the | 1670 # These isolated tests don't use telemetry. They need to be placed in the |
1636 # isolated_scripts section of the generated json. | 1671 # isolated_scripts section of the generated json. |
1637 NON_TELEMETRY_ISOLATED_SCRIPT_TESTS = { | 1672 NON_TELEMETRY_ISOLATED_SCRIPT_TESTS = { |
1638 # We run angle_perftests on the ANGLE CQ to ensure the tests don't crash. | 1673 # We run angle_perftests on the ANGLE CQ to ensure the tests don't crash. |
1639 'angle_perftests': { | 1674 'angle_perftests': { |
1640 'tester_configs': [ | 1675 'tester_configs': [ |
1641 { | 1676 { |
1642 'predicate': Predicates.FYI_AND_OPTIONAL, | 1677 'predicate': Predicates.FYI_AND_OPTIONAL, |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1959 install_parent_links(WATERFALL) | 1994 install_parent_links(WATERFALL) |
1960 install_parent_links(V8_FYI_WATERFALL) | 1995 install_parent_links(V8_FYI_WATERFALL) |
1961 | 1996 |
1962 generate_all_tests(FYI_WATERFALL, 'chromium.gpu.fyi.json') | 1997 generate_all_tests(FYI_WATERFALL, 'chromium.gpu.fyi.json') |
1963 generate_all_tests(WATERFALL, 'chromium.gpu.json') | 1998 generate_all_tests(WATERFALL, 'chromium.gpu.json') |
1964 generate_all_tests(V8_FYI_WATERFALL, 'client.v8.fyi.json') | 1999 generate_all_tests(V8_FYI_WATERFALL, 'client.v8.fyi.json') |
1965 return 0 | 2000 return 0 |
1966 | 2001 |
1967 if __name__ == "__main__": | 2002 if __name__ == "__main__": |
1968 sys.exit(main()) | 2003 sys.exit(main()) |
OLD | NEW |