| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 [InstallablePackage('ChromeDriverWebViewShell', | 93 [InstallablePackage('ChromeDriverWebViewShell', |
| 94 'ChromeDriverWebViewShell.apk', | 94 'ChromeDriverWebViewShell.apk', |
| 95 'org.chromium.chromedriver_webview_shell')])) | 95 'org.chromium.chromedriver_webview_shell')])) |
| 96 | 96 |
| 97 VALID_TESTS = set([ | 97 VALID_TESTS = set([ |
| 98 'base_junit_tests', | 98 'base_junit_tests', |
| 99 'chromedriver', | 99 'chromedriver', |
| 100 'chrome_proxy', | 100 'chrome_proxy', |
| 101 'components_browsertests', | 101 'components_browsertests', |
| 102 'gfx_unittests', | 102 'gfx_unittests', |
| 103 'gl_unittests', |
| 103 'gpu', | 104 'gpu', |
| 104 'python_unittests', | 105 'python_unittests', |
| 105 'telemetry_unittests', | 106 'telemetry_unittests', |
| 106 'telemetry_perf_unittests', | 107 'telemetry_perf_unittests', |
| 107 'ui', | 108 'ui', |
| 108 'unit', | 109 'unit', |
| 109 'webkit', | 110 'webkit', |
| 110 'webkit_layout' | 111 'webkit_layout' |
| 111 ]) | 112 ]) |
| 112 | 113 |
| (...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 578 def GetTestStepCmds(): | 579 def GetTestStepCmds(): |
| 579 return [ | 580 return [ |
| 580 ('base_junit_tests', | 581 ('base_junit_tests', |
| 581 lambda _options: RunJunitSuite('base_junit_tests')), | 582 lambda _options: RunJunitSuite('base_junit_tests')), |
| 582 ('chromedriver', RunChromeDriverTests), | 583 ('chromedriver', RunChromeDriverTests), |
| 583 ('chrome_proxy', RunChromeProxyTests), | 584 ('chrome_proxy', RunChromeProxyTests), |
| 584 ('components_browsertests', | 585 ('components_browsertests', |
| 585 lambda options: RunTestSuites(options, ['components_browsertests'])), | 586 lambda options: RunTestSuites(options, ['components_browsertests'])), |
| 586 ('gfx_unittests', | 587 ('gfx_unittests', |
| 587 lambda options: RunTestSuites(options, ['gfx_unittests'])), | 588 lambda options: RunTestSuites(options, ['gfx_unittests'])), |
| 589 ('gl_unittests', |
| 590 lambda options: RunTestSuites(options, ['gl_unittests'])), |
| 588 ('gpu', RunGPUTests), | 591 ('gpu', RunGPUTests), |
| 589 ('python_unittests', RunPythonUnitTests), | 592 ('python_unittests', RunPythonUnitTests), |
| 590 ('telemetry_unittests', RunTelemetryUnitTests), | 593 ('telemetry_unittests', RunTelemetryUnitTests), |
| 591 ('telemetry_perf_unittests', RunTelemetryPerfUnitTests), | 594 ('telemetry_perf_unittests', RunTelemetryPerfUnitTests), |
| 592 ('ui', RunInstrumentationTests), | 595 ('ui', RunInstrumentationTests), |
| 593 ('unit', RunUnitTests), | 596 ('unit', RunUnitTests), |
| 594 ('webkit', RunWebkitTests), | 597 ('webkit', RunWebkitTests), |
| 595 ('webkit_layout', RunWebkitLayoutTests), | 598 ('webkit_layout', RunWebkitLayoutTests), |
| 596 ] | 599 ] |
| 597 | 600 |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 785 | 788 |
| 786 if options.coverage_bucket: | 789 if options.coverage_bucket: |
| 787 setattr(options, 'coverage_dir', | 790 setattr(options, 'coverage_dir', |
| 788 os.path.join(CHROME_OUT_DIR, options.target, 'coverage')) | 791 os.path.join(CHROME_OUT_DIR, options.target, 'coverage')) |
| 789 | 792 |
| 790 MainTestWrapper(options) | 793 MainTestWrapper(options) |
| 791 | 794 |
| 792 | 795 |
| 793 if __name__ == '__main__': | 796 if __name__ == '__main__': |
| 794 sys.exit(main(sys.argv)) | 797 sys.exit(main(sys.argv)) |
| OLD | NEW |