| 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 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1227 { | 1227 { |
| 1228 'names': [ | 1228 'names': [ |
| 1229 # http://crbug.com/599451: this test is currently too slow | 1229 # http://crbug.com/599451: this test is currently too slow |
| 1230 # to run on x64 in Debug mode. Need to shard the tests. | 1230 # to run on x64 in Debug mode. Need to shard the tests. |
| 1231 'Win7 x64 Debug (NVIDIA)', | 1231 'Win7 x64 Debug (NVIDIA)', |
| 1232 ], | 1232 ], |
| 1233 }, | 1233 }, |
| 1234 ], | 1234 ], |
| 1235 'target_name': 'webgl_conformance', | 1235 'target_name': 'webgl_conformance', |
| 1236 'args': [ | 1236 'args': [ |
| 1237 '--webgl-conformance-version=2.0.0', | 1237 '--webgl-conformance-version=2.0.1', |
| 1238 # The current working directory when run via isolate is | 1238 # The current working directory when run via isolate is |
| 1239 # out/Debug or out/Release. Reference this file relatively to | 1239 # out/Debug or out/Release. Reference this file relatively to |
| 1240 # it. | 1240 # it. |
| 1241 '--read-abbreviated-json-results-from=' + \ | 1241 '--read-abbreviated-json-results-from=' + \ |
| 1242 '../../content/test/data/gpu/webgl2_conformance_tests_output.json', | 1242 '../../content/test/data/gpu/webgl2_conformance_tests_output.json', |
| 1243 ], | 1243 ], |
| 1244 'swarming': { | 1244 'swarming': { |
| 1245 # These tests currently take about an hour and fifteen minutes | 1245 # These tests currently take about an hour and fifteen minutes |
| 1246 # to run. Split them into roughly 5-minute shards. | 1246 # to run. Split them into roughly 5-minute shards. |
| 1247 'shards': 15, | 1247 'shards': 15, |
| (...skipping 18 matching lines...) Expand all Loading... |
| 1266 'os': 'Linux' | 1266 'os': 'Linux' |
| 1267 }, | 1267 }, |
| 1268 ], | 1268 ], |
| 1269 }, | 1269 }, |
| 1270 ], | 1270 ], |
| 1271 'target_name': 'webgl_conformance', | 1271 'target_name': 'webgl_conformance', |
| 1272 'extra_browser_args': [ | 1272 'extra_browser_args': [ |
| 1273 '--use-gl=angle', | 1273 '--use-gl=angle', |
| 1274 ], | 1274 ], |
| 1275 'args': [ | 1275 'args': [ |
| 1276 '--webgl-conformance-version=2.0.0', | 1276 '--webgl-conformance-version=2.0.1', |
| 1277 # The current working directory when run via isolate is | 1277 # The current working directory when run via isolate is |
| 1278 # out/Debug or out/Release. Reference this file relatively to | 1278 # out/Debug or out/Release. Reference this file relatively to |
| 1279 # it. | 1279 # it. |
| 1280 '--read-abbreviated-json-results-from=' + \ | 1280 '--read-abbreviated-json-results-from=' + \ |
| 1281 '../../content/test/data/gpu/webgl2_conformance_tests_output.json', | 1281 '../../content/test/data/gpu/webgl2_conformance_tests_output.json', |
| 1282 ], | 1282 ], |
| 1283 'swarming': { | 1283 'swarming': { |
| 1284 # These tests currently take about an hour and fifteen minutes | 1284 # These tests currently take about an hour and fifteen minutes |
| 1285 # to run. Split them into roughly 5-minute shards. | 1285 # to run. Split them into roughly 5-minute shards. |
| 1286 'shards': 15, | 1286 'shards': 15, |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1550 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 1550 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 1551 fp.write('\n') | 1551 fp.write('\n') |
| 1552 | 1552 |
| 1553 def main(): | 1553 def main(): |
| 1554 generate_all_tests(FYI_WATERFALL, True) | 1554 generate_all_tests(FYI_WATERFALL, True) |
| 1555 generate_all_tests(WATERFALL, False) | 1555 generate_all_tests(WATERFALL, False) |
| 1556 return 0 | 1556 return 0 |
| 1557 | 1557 |
| 1558 if __name__ == "__main__": | 1558 if __name__ == "__main__": |
| 1559 sys.exit(main()) | 1559 sys.exit(main()) |
| OLD | NEW |