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

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

Issue 10830068: Run unit_tests bundle on Android tester bots. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disabling few tests. Created 8 years, 4 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/unit_tests_disabled ('k') | testing/android/OWNERS » ('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 # 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 _TEST_SUITES = ['base_unittests', 72 _TEST_SUITES = ['base_unittests',
73 'content_unittests', 73 'content_unittests',
74 'gpu_unittests', 74 'gpu_unittests',
75 'ipc_tests', 75 'ipc_tests',
76 'media_unittests', 76 'media_unittests',
77 'net_unittests', 77 'net_unittests',
78 'sql_unittests', 78 'sql_unittests',
79 'sync_unit_tests', 79 'sync_unit_tests',
80 'ui_unittests', 80 'ui_unittests',
81 'unit_tests',
81 ] 82 ]
82 83
83 84
84 def FullyQualifiedTestSuites(exe, option_test_suite): 85 def FullyQualifiedTestSuites(exe, option_test_suite):
85 """Return a fully qualified list 86 """Return a fully qualified list
86 87
87 Args: 88 Args:
88 exe: if True, use the executable-based test runner. 89 exe: if True, use the executable-based test runner.
89 option_test_suite: the test_suite specified as an option. 90 option_test_suite: the test_suite specified as an option.
90 """ 91 """
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 # the batch (this happens because the exit status is a sum of all failures 438 # the batch (this happens because the exit status is a sum of all failures
438 # from all suites, but the buildbot associates the exit status only with the 439 # from all suites, but the buildbot associates the exit status only with the
439 # most recent step). 440 # most recent step).
440 if options.exit_code: 441 if options.exit_code:
441 return failed_tests_count 442 return failed_tests_count
442 return 0 443 return 0
443 444
444 445
445 if __name__ == '__main__': 446 if __name__ == '__main__':
446 sys.exit(main(sys.argv)) 447 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « build/android/gtest_filter/unit_tests_disabled ('k') | testing/android/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698