Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(465)

Side by Side Diff: build/android/buildbot/bb_device_steps.py

Issue 12609013: [android_webview] Build test code against the shell APK. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix up minsdkversoin Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698