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

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

Issue 11412277: Fix android run_tests.py (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 | « no previous file | 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 import emulator 68 import emulator
69 from pylib import ports 69 from pylib import ports
70 from pylib import run_tests_helper 70 from pylib import run_tests_helper
71 from pylib import test_options_parser 71 from pylib import test_options_parser
72 from pylib.single_test_runner import SingleTestRunner 72 from pylib.single_test_runner import SingleTestRunner
73 from pylib.test_result import BaseTestResult, TestResults 73 from pylib.test_result import BaseTestResult, TestResults
74 74
75 75
76 _TEST_SUITES = ['base_unittests', 76 _TEST_SUITES = ['base_unittests',
77 'cc_unittests', 77 'cc_unittests',
78 'cc_perftests',
79 'content_unittests', 78 'content_unittests',
80 'gpu_unittests', 79 'gpu_unittests',
81 'ipc_tests', 80 'ipc_tests',
82 'media_unittests', 81 'media_unittests',
83 'net_unittests', 82 'net_unittests',
84 'sql_unittests', 83 'sql_unittests',
85 'sync_unit_tests', 84 'sync_unit_tests',
86 'ui_unittests', 85 'ui_unittests',
87 'unit_tests', 86 'unit_tests',
88 'webkit_compositor_bindings_unittests', 87 'webkit_compositor_bindings_unittests',
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 # the batch (this happens because the exit status is a sum of all failures 465 # the batch (this happens because the exit status is a sum of all failures
467 # from all suites, but the buildbot associates the exit status only with the 466 # from all suites, but the buildbot associates the exit status only with the
468 # most recent step). 467 # most recent step).
469 if options.exit_code: 468 if options.exit_code:
470 return failed_tests_count 469 return failed_tests_count
471 return 0 470 return 0
472 471
473 472
474 if __name__ == '__main__': 473 if __name__ == '__main__':
475 sys.exit(main(sys.argv)) 474 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698