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

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

Issue 12091033: Relanding "Add apk for running content_browsertests" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 10 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
« no previous file with comments | « build/android/adb_run_content_shell ('k') | build/android/gdb_apk » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 23 matching lines...) Expand all
34 # apk: apk to be installed. 34 # apk: apk to be installed.
35 # apk_package: package for the apk to be installed. 35 # apk_package: package for the apk to be installed.
36 # test_apk: apk to run tests on. 36 # test_apk: apk to run tests on.
37 # test_data: data folder in format destination:source. 37 # test_data: data folder in format destination:source.
38 I_TEST = collections.namedtuple('InstrumentationTest', [ 38 I_TEST = collections.namedtuple('InstrumentationTest', [
39 'name', 'apk', 'apk_package', 'test_apk', 'test_data']) 39 'name', 'apk', 'apk_package', 'test_apk', 'test_data'])
40 40
41 INSTRUMENTATION_TESTS = dict((suite.name, suite) for suite in [ 41 INSTRUMENTATION_TESTS = dict((suite.name, suite) for suite in [
42 I_TEST('ContentShell', 42 I_TEST('ContentShell',
43 'ContentShell.apk', 43 'ContentShell.apk',
44 'org.chromium.content_shell', 44 'org.chromium.content_shell_apk',
45 'ContentShellTest', 45 'ContentShellTest',
46 'content:content/test/data/android/device_files'), 46 'content:content/test/data/android/device_files'),
47 I_TEST('ChromiumTestShell', 47 I_TEST('ChromiumTestShell',
48 'ChromiumTestShell.apk', 48 'ChromiumTestShell.apk',
49 'org.chromium.chrome.testshell', 49 'org.chromium.chrome.testshell',
50 'ChromiumTestShellTest', 50 'ChromiumTestShellTest',
51 'chrome:chrome/test/data/android/device_files'), 51 'chrome:chrome/test/data/android/device_files'),
52 I_TEST('AndroidWebView', 52 I_TEST('AndroidWebView',
53 'AndroidWebView.apk', 53 'AndroidWebView.apk',
54 'org.chromium.android_webview', 54 'org.chromium.android_webview',
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 'slave', 'android')) 319 'slave', 'android'))
320 if os.path.exists(build_internal_android): 320 if os.path.exists(build_internal_android):
321 android_paths.insert(0, build_internal_android) 321 android_paths.insert(0, build_internal_android)
322 os.environ['PATH'] = os.pathsep.join(android_paths + [os.environ['PATH']]) 322 os.environ['PATH'] = os.pathsep.join(android_paths + [os.environ['PATH']])
323 323
324 MainTestWrapper(options) 324 MainTestWrapper(options)
325 325
326 326
327 if __name__ == '__main__': 327 if __name__ == '__main__':
328 sys.exit(main(sys.argv)) 328 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « build/android/adb_run_content_shell ('k') | build/android/gdb_apk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698