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 multiprocessing | 10 import multiprocessing |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 annotation, exclude_annotation, extra_flags) | 59 annotation, exclude_annotation, extra_flags) |
60 | 60 |
61 INSTRUMENTATION_TESTS = dict((suite.name, suite) for suite in [ | 61 INSTRUMENTATION_TESTS = dict((suite.name, suite) for suite in [ |
62 I('ContentShell', | 62 I('ContentShell', |
63 'ContentShell.apk', | 63 'ContentShell.apk', |
64 'org.chromium.content_shell_apk', | 64 'org.chromium.content_shell_apk', |
65 'ContentShellTest', | 65 'ContentShellTest', |
66 'content:content/test/data/android/device_files'), | 66 'content:content/test/data/android/device_files'), |
67 I('ChromiumTestShell', | 67 I('ChromiumTestShell', |
68 'ChromiumTestShell.apk', | 68 'ChromiumTestShell.apk', |
69 'org.chromium.chrome.testshell', | 69 'org.chromium.chrome.shell', |
70 'ChromiumTestShellTest', | 70 'ChromiumTestShellTest', |
71 'chrome:chrome/test/data/android/device_files', | 71 'chrome:chrome/test/data/android/device_files', |
72 constants.CHROMIUM_TEST_SHELL_HOST_DRIVEN_DIR), | 72 constants.CHROMIUM_TEST_SHELL_HOST_DRIVEN_DIR), |
73 I('AndroidWebView', | 73 I('AndroidWebView', |
74 'AndroidWebView.apk', | 74 'AndroidWebView.apk', |
75 'org.chromium.android_webview.shell', | 75 'org.chromium.android_webview.shell', |
76 'AndroidWebViewTest', | 76 'AndroidWebViewTest', |
77 'webview:android_webview/test/data/device_files'), | 77 'webview:android_webview/test/data/device_files'), |
78 ]) | 78 ]) |
79 | 79 |
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
646 setattr(options, 'target', options.factory_properties.get('target', 'Debug')) | 646 setattr(options, 'target', options.factory_properties.get('target', 'Debug')) |
647 if options.coverage_bucket: | 647 if options.coverage_bucket: |
648 setattr(options, 'coverage_dir', | 648 setattr(options, 'coverage_dir', |
649 os.path.join(CHROME_OUT_DIR, options.target, 'coverage')) | 649 os.path.join(CHROME_OUT_DIR, options.target, 'coverage')) |
650 | 650 |
651 MainTestWrapper(options) | 651 MainTestWrapper(options) |
652 | 652 |
653 | 653 |
654 if __name__ == '__main__': | 654 if __name__ == '__main__': |
655 sys.exit(main(sys.argv)) | 655 sys.exit(main(sys.argv)) |
OLD | NEW |