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

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

Issue 8351064: Enable sql_unittests for Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/all_android.gyp ('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/python 1 #!/usr/bin/python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 import android_commands 55 import android_commands
56 import cmd_helper 56 import cmd_helper
57 import debug_info 57 import debug_info
58 import emulator 58 import emulator
59 import run_tests_helper 59 import run_tests_helper
60 from single_test_runner import SingleTestRunner 60 from single_test_runner import SingleTestRunner
61 from test_package_executable import TestPackageExecutable 61 from test_package_executable import TestPackageExecutable
62 from test_result import BaseTestResult, TestResults 62 from test_result import BaseTestResult, TestResults
63 63
64 _TEST_SUITES = ['base_unittests',] 64 _TEST_SUITES = ['base_unittests', 'sql_unittests']
65 65
66 def RunTests(device, test_suite, gtest_filter, test_arguments, rebaseline, 66 def RunTests(device, test_suite, gtest_filter, test_arguments, rebaseline,
67 timeout, performance_test, cleanup_test_files, tool, 67 timeout, performance_test, cleanup_test_files, tool,
68 log_dump_name): 68 log_dump_name):
69 """Runs the tests. 69 """Runs the tests.
70 70
71 Args: 71 Args:
72 device: Device to run the tests. 72 device: Device to run the tests.
73 test_suite: A specific test suite to run, empty to run all. 73 test_suite: A specific test suite to run, empty to run all.
74 gtest_filter: A gtest_filter flag. 74 gtest_filter: A gtest_filter flag.
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 if len(args) > 1: 199 if len(args) > 1:
200 print 'Unknown argument:', args[1:] 200 print 'Unknown argument:', args[1:]
201 option_parser.print_usage() 201 option_parser.print_usage()
202 sys.exit(1) 202 sys.exit(1)
203 run_tests_helper.SetLogLevel(options.verbose_count) 203 run_tests_helper.SetLogLevel(options.verbose_count)
204 return Dispatch(options) 204 return Dispatch(options)
205 205
206 206
207 if __name__ == '__main__': 207 if __name__ == '__main__':
208 sys.exit(main(sys.argv)) 208 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « build/all_android.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698