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

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

Issue 20605003: [Android] Temporary fix for Monkey tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebases, uploading again for CQ Created 7 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
« 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 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 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 the Monkey tests on one or more devices.""" 6 """Runs the Monkey tests on one or more devices."""
7 import logging 7 import logging
8 import optparse 8 import optparse
9 import random 9 import random
10 import sys 10 import sys
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 parser.print_help(sys.stderr) 149 parser.print_help(sys.stderr)
150 parser.error('Unknown arguments: %s' % args) 150 parser.error('Unknown arguments: %s' % args)
151 151
152 if not options.package_name: 152 if not options.package_name:
153 parser.print_help(sys.stderr) 153 parser.print_help(sys.stderr)
154 parser.error('Missing package name') 154 parser.error('Missing package name')
155 155
156 if options.category: 156 if options.category:
157 options.category = options.category.split(',') 157 options.category = options.category.split(',')
158 158
159 # TODO(gkanwar): This should go away when the host-driven tests are refactored
160 options.num_retries = 1
161
159 DispatchPythonTests(options) 162 DispatchPythonTests(options)
160 163
161 164
162 if __name__ == '__main__': 165 if __name__ == '__main__':
163 main() 166 main()
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