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 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1155 ], | 1155 ], |
1156 }, | 1156 }, |
1157 ], | 1157 ], |
1158 'desktop_args': [ | 1158 'desktop_args': [ |
1159 '--use-gpu-in-tests', | 1159 '--use-gpu-in-tests', |
1160 # ANGLE test retries deliberately disabled to prevent flakiness. | 1160 # ANGLE test retries deliberately disabled to prevent flakiness. |
1161 # http://crbug.com/669196 | 1161 # http://crbug.com/669196 |
1162 '--test-launcher-retry-limit=0' | 1162 '--test-launcher-retry-limit=0' |
1163 ] | 1163 ] |
1164 }, | 1164 }, |
| 1165 # white_box tests should run where end2end tests run |
| 1166 'angle_white_box_tests': { |
| 1167 'tester_configs': [ |
| 1168 { |
| 1169 'predicate': Predicates.FYI_AND_OPTIONAL, |
| 1170 # There are only Windows white box tests for now. |
| 1171 # Enable on more configs when there will be relevant tests. |
| 1172 'os_types': ['win'], |
| 1173 }, |
| 1174 ], |
| 1175 'desktop_args': [ |
| 1176 # ANGLE test retries deliberately disabled to prevent flakiness. |
| 1177 # http://crbug.com/669196 |
| 1178 '--test-launcher-retry-limit=0' |
| 1179 ] |
| 1180 }, |
1165 'angle_unittests': { | 1181 'angle_unittests': { |
1166 'desktop_args': [ | 1182 'desktop_args': [ |
1167 '--use-gpu-in-tests', | 1183 '--use-gpu-in-tests', |
1168 # ANGLE test retries deliberately disabled to prevent flakiness. | 1184 # ANGLE test retries deliberately disabled to prevent flakiness. |
1169 # http://crbug.com/669196 | 1185 # http://crbug.com/669196 |
1170 '--test-launcher-retry-limit=0' | 1186 '--test-launcher-retry-limit=0' |
1171 ] | 1187 ] |
1172 }, | 1188 }, |
1173 # Until the media-only tests are extracted from content_unittests, | 1189 # Until the media-only tests are extracted from content_unittests, |
1174 # and audio_unittests and content_unittests can be run on the commit | 1190 # and audio_unittests and content_unittests can be run on the commit |
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1943 install_parent_links(WATERFALL) | 1959 install_parent_links(WATERFALL) |
1944 install_parent_links(V8_FYI_WATERFALL) | 1960 install_parent_links(V8_FYI_WATERFALL) |
1945 | 1961 |
1946 generate_all_tests(FYI_WATERFALL, 'chromium.gpu.fyi.json') | 1962 generate_all_tests(FYI_WATERFALL, 'chromium.gpu.fyi.json') |
1947 generate_all_tests(WATERFALL, 'chromium.gpu.json') | 1963 generate_all_tests(WATERFALL, 'chromium.gpu.json') |
1948 generate_all_tests(V8_FYI_WATERFALL, 'client.v8.fyi.json') | 1964 generate_all_tests(V8_FYI_WATERFALL, 'client.v8.fyi.json') |
1949 return 0 | 1965 return 0 |
1950 | 1966 |
1951 if __name__ == "__main__": | 1967 if __name__ == "__main__": |
1952 sys.exit(main()) | 1968 sys.exit(main()) |
OLD | NEW |