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

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

Issue 8667008: Fix python scripts in src/build/ (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
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/env 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).
11 3. Environment: 11 3. Environment:
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 if len(args) > 1: 258 if len(args) > 1:
259 print 'Unknown argument:', args[1:] 259 print 'Unknown argument:', args[1:]
260 option_parser.print_usage() 260 option_parser.print_usage()
261 sys.exit(1) 261 sys.exit(1)
262 run_tests_helper.SetLogLevel(options.verbose_count) 262 run_tests_helper.SetLogLevel(options.verbose_count)
263 return Dispatch(options) 263 return Dispatch(options)
264 264
265 265
266 if __name__ == '__main__': 266 if __name__ == '__main__':
267 sys.exit(main(sys.argv)) 267 sys.exit(main(sys.argv))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698