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

Side by Side Diff: build/android/run_tests.py

Issue 10447050: Add net, content and ipc to the default list of APK test bundles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add content and net apk bundles to all_android.gyp Created 8 years, 6 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/gtest_filter/content_unittests_disabled ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 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 """Runs all the native unit tests. 6 """Runs all the native unit tests.
7 7
8 1. Copy over test binary to /data/local on device. 8 1. Copy over test binary to /data/local on device.
9 2. Resources: chrome/unit_tests requires resources (chrome.pak and en-US.pak) 9 2. Resources: chrome/unit_tests requires resources (chrome.pak and en-US.pak)
10 to be deployed to the device (in /data/local/tmp). 10 to be deployed to the device (in /data/local/tmp).
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 'ipc_tests', 72 'ipc_tests',
73 'net_unittests', 73 'net_unittests',
74 'sql_unittests', 74 'sql_unittests',
75 'sync_unit_tests', 75 'sync_unit_tests',
76 'ui_unittests', 76 'ui_unittests',
77 ] 77 ]
78 78
79 # Test suites which are run as APK. This will be replaced by the default 79 # Test suites which are run as APK. This will be replaced by the default
80 # list when we start building all suites as APK. 80 # list when we start building all suites as APK.
81 _APK_TEST_SUITES = ['base_unittests', 81 _APK_TEST_SUITES = ['base_unittests',
82 'content_unittests',
83 'ipc_tests',
84 'net_unittests',
82 ] 85 ]
83 86
84 def FullyQualifiedTestSuites(apk): 87 def FullyQualifiedTestSuites(apk):
85 """Return a fully qualified list that represents all known suites. 88 """Return a fully qualified list that represents all known suites.
86 89
87 Args: 90 Args:
88 apk: if True, use the apk-based test runner""" 91 apk: if True, use the apk-based test runner"""
89 # If not specified, assume the test suites are in out/Release 92 # If not specified, assume the test suites are in out/Release
90 test_suite_dir = os.path.abspath(os.path.join(run_tests_helper.CHROME_DIR, 93 test_suite_dir = os.path.abspath(os.path.join(run_tests_helper.CHROME_DIR,
91 'out', 'Release')) 94 'out', 'Release'))
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 # from all suites, but the buildbot associates the exit status only with the 474 # from all suites, but the buildbot associates the exit status only with the
472 # most recent step). 475 # most recent step).
473 if options.annotate: 476 if options.annotate:
474 return 0 477 return 0
475 else: 478 else:
476 return failed_tests_count 479 return failed_tests_count
477 480
478 481
479 if __name__ == '__main__': 482 if __name__ == '__main__':
480 sys.exit(main(sys.argv)) 483 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « build/android/gtest_filter/content_unittests_disabled ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698