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

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

Issue 11668016: Move android_webview_unittests to cq/main waterfall (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/buildbot/buildbot_functions.sh ('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 # 2 #
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """Runs all the native unit tests. 7 """Runs all the native unit tests.
8 8
9 1. Copy over test binary to /data/local on device. 9 1. Copy over test binary to /data/local on device.
10 2. Resources: chrome/unit_tests requires resources (chrome.pak and en-US.pak) 10 2. Resources: chrome/unit_tests requires resources (chrome.pak and en-US.pak)
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 'content_unittests', 62 'content_unittests',
63 'gpu_unittests', 63 'gpu_unittests',
64 'ipc_tests', 64 'ipc_tests',
65 'media_unittests', 65 'media_unittests',
66 'net_unittests', 66 'net_unittests',
67 'sql_unittests', 67 'sql_unittests',
68 'sync_unit_tests', 68 'sync_unit_tests',
69 'ui_unittests', 69 'ui_unittests',
70 'unit_tests', 70 'unit_tests',
71 'webkit_compositor_bindings_unittests', 71 'webkit_compositor_bindings_unittests',
72 'android_webview_unittests',
72 ] 73 ]
73 74
74 75
75 def FullyQualifiedTestSuites(exe, option_test_suite, build_type): 76 def FullyQualifiedTestSuites(exe, option_test_suite, build_type):
76 """Get a list of absolute paths to test suite targets. 77 """Get a list of absolute paths to test suite targets.
77 78
78 Args: 79 Args:
79 exe: if True, use the executable-based test runner. 80 exe: if True, use the executable-based test runner.
80 option_test_suite: the test_suite specified as an option. 81 option_test_suite: the test_suite specified as an option.
81 build_type: 'Release' or 'Debug'. 82 build_type: 'Release' or 'Debug'.
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 # the batch (this happens because the exit status is a sum of all failures 478 # the batch (this happens because the exit status is a sum of all failures
478 # from all suites, but the buildbot associates the exit status only with the 479 # from all suites, but the buildbot associates the exit status only with the
479 # most recent step). 480 # most recent step).
480 if options.exit_code: 481 if options.exit_code:
481 return failed_tests_count 482 return failed_tests_count
482 return 0 483 return 0
483 484
484 485
485 if __name__ == '__main__': 486 if __name__ == '__main__':
486 sys.exit(main(sys.argv)) 487 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « build/android/buildbot/buildbot_functions.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698