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

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

Issue 11418235: Add perf tests based on json representation of layer tree (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Go up to 2 seconds per test, do correct math 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 | cc/cc_tests.gyp » ('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 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',
78 'content_unittests', 79 'content_unittests',
79 'gpu_unittests', 80 'gpu_unittests',
80 'ipc_tests', 81 'ipc_tests',
81 'media_unittests', 82 'media_unittests',
82 'net_unittests', 83 'net_unittests',
83 'sql_unittests', 84 'sql_unittests',
84 'sync_unit_tests', 85 'sync_unit_tests',
85 'ui_unittests', 86 'ui_unittests',
86 'unit_tests', 87 'unit_tests',
87 'webkit_compositor_bindings_unittests', 88 'webkit_compositor_bindings_unittests',
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 # the batch (this happens because the exit status is a sum of all failures 466 # the batch (this happens because the exit status is a sum of all failures
466 # from all suites, but the buildbot associates the exit status only with the 467 # from all suites, but the buildbot associates the exit status only with the
467 # most recent step). 468 # most recent step).
468 if options.exit_code: 469 if options.exit_code:
469 return failed_tests_count 470 return failed_tests_count
470 return 0 471 return 0
471 472
472 473
473 if __name__ == '__main__': 474 if __name__ == '__main__':
474 sys.exit(main(sys.argv)) 475 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | cc/cc_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698