OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2013 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 import collections | 6 import collections |
7 import glob | 7 import glob |
8 import hashlib | 8 import hashlib |
9 import json | 9 import json |
10 import os | 10 import os |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 '--os-type', | 472 '--os-type', |
473 'android', | 473 'android', |
474 '--test-machine-name', | 474 '--test-machine-name', |
475 EscapeBuilderName(builder_name)]) | 475 EscapeBuilderName(builder_name)]) |
476 | 476 |
477 bb_annotations.PrintNamedStep('webgl_conformance_tests') | 477 bb_annotations.PrintNamedStep('webgl_conformance_tests') |
478 RunCmd(['content/test/gpu/run_gpu_test.py', | 478 RunCmd(['content/test/gpu/run_gpu_test.py', |
479 '--browser=android-content-shell', 'webgl_conformance', | 479 '--browser=android-content-shell', 'webgl_conformance', |
480 '--webgl-conformance-version=1.0.1']) | 480 '--webgl-conformance-version=1.0.1']) |
481 | 481 |
| 482 bb_annotations.PrintNamedStep('gpu_rasterization_tests') |
| 483 RunCmd(['content/test/gpu/run_gpu_test.py', |
| 484 'gpu_rasterization', |
| 485 '--browser', |
| 486 'android-content-shell', |
| 487 '--build-revision', |
| 488 str(revision), |
| 489 '--test-machine-name', |
| 490 EscapeBuilderName(builder_name)]) |
| 491 |
482 | 492 |
483 def GetTestStepCmds(): | 493 def GetTestStepCmds(): |
484 return [ | 494 return [ |
485 ('chromedriver', RunChromeDriverTests), | 495 ('chromedriver', RunChromeDriverTests), |
486 ('gpu', RunGPUTests), | 496 ('gpu', RunGPUTests), |
487 ('mojo', RunMojoTests), | 497 ('mojo', RunMojoTests), |
488 ('telemetry_perf_unittests', RunTelemetryPerfUnitTests), | 498 ('telemetry_perf_unittests', RunTelemetryPerfUnitTests), |
489 ('unit', RunUnitTests), | 499 ('unit', RunUnitTests), |
490 ('ui', RunInstrumentationTests), | 500 ('ui', RunInstrumentationTests), |
491 ('webkit', RunWebkitTests), | 501 ('webkit', RunWebkitTests), |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
660 setattr(options, 'target', options.factory_properties.get('target', 'Debug')) | 670 setattr(options, 'target', options.factory_properties.get('target', 'Debug')) |
661 if options.coverage_bucket: | 671 if options.coverage_bucket: |
662 setattr(options, 'coverage_dir', | 672 setattr(options, 'coverage_dir', |
663 os.path.join(CHROME_OUT_DIR, options.target, 'coverage')) | 673 os.path.join(CHROME_OUT_DIR, options.target, 'coverage')) |
664 | 674 |
665 MainTestWrapper(options) | 675 MainTestWrapper(options) |
666 | 676 |
667 | 677 |
668 if __name__ == '__main__': | 678 if __name__ == '__main__': |
669 sys.exit(main(sys.argv)) | 679 sys.exit(main(sys.argv)) |
OLD | NEW |