| 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 json | 8 import json |
| 9 import multiprocessing | 9 import multiprocessing |
| 10 import optparse | 10 import optparse |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 'content:content/test/data/android/device_files', | 46 'content:content/test/data/android/device_files', |
| 47 None), | 47 None), |
| 48 I_TEST('ChromiumTestShell', | 48 I_TEST('ChromiumTestShell', |
| 49 'ChromiumTestShell.apk', | 49 'ChromiumTestShell.apk', |
| 50 'org.chromium.chrome.testshell', | 50 'org.chromium.chrome.testshell', |
| 51 'ChromiumTestShellTest', | 51 'ChromiumTestShellTest', |
| 52 'chrome:chrome/test/data/android/device_files', | 52 'chrome:chrome/test/data/android/device_files', |
| 53 constants.CHROMIUM_TEST_SHELL_HOST_DRIVEN_DIR), | 53 constants.CHROMIUM_TEST_SHELL_HOST_DRIVEN_DIR), |
| 54 I_TEST('AndroidWebView', | 54 I_TEST('AndroidWebView', |
| 55 'AndroidWebView.apk', | 55 'AndroidWebView.apk', |
| 56 'org.chromium.android_webview', | 56 'org.chromium.android_webview.shell', |
| 57 'AndroidWebViewTest', | 57 'AndroidWebViewTest', |
| 58 'webview:android_webview/test/data/device_files', | 58 'webview:android_webview/test/data/device_files', |
| 59 None), | 59 None), |
| 60 ]) | 60 ]) |
| 61 | 61 |
| 62 VALID_TESTS = set(['chromedriver', 'ui', 'unit', 'webkit', 'webkit_layout']) | 62 VALID_TESTS = set(['chromedriver', 'ui', 'unit', 'webkit', 'webkit_layout']) |
| 63 | 63 |
| 64 | 64 |
| 65 | 65 |
| 66 def SpawnCmd(command): | 66 def SpawnCmd(command): |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 'slave', 'android')) | 359 'slave', 'android')) |
| 360 if os.path.exists(build_internal_android): | 360 if os.path.exists(build_internal_android): |
| 361 android_paths.insert(0, build_internal_android) | 361 android_paths.insert(0, build_internal_android) |
| 362 os.environ['PATH'] = os.pathsep.join(android_paths + [os.environ['PATH']]) | 362 os.environ['PATH'] = os.pathsep.join(android_paths + [os.environ['PATH']]) |
| 363 | 363 |
| 364 MainTestWrapper(options) | 364 MainTestWrapper(options) |
| 365 | 365 |
| 366 | 366 |
| 367 if __name__ == '__main__': | 367 if __name__ == '__main__': |
| 368 sys.exit(main(sys.argv)) | 368 sys.exit(main(sys.argv)) |
| OLD | NEW |