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

Side by Side Diff: trunk/src/build/android/run_browser_tests.py

Issue 18732002: Revert 210035 "Creates a new test running script test_runner.py" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright 2013 The Chromium Authors. All rights reserved. 3 # Copyright 2013 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 content_browsertests.""" 7 """Runs content browser tests."""
8 8
9 import logging 9 import optparse
10 import os
11 import sys 10 import sys
12 11
13 from pylib import cmd_helper 12 from pylib.browsertests import dispatch
13 from pylib.utils import run_tests_helper
14 from pylib.utils import test_options_parser
15
16 def main(argv):
17 option_parser = optparse.OptionParser()
18 test_options_parser.AddGTestOptions(option_parser)
19 options, args = option_parser.parse_args(argv)
20
21 if len(args) > 1:
22 option_parser.error('Unknown argument: %s' % args[1:])
23
24 run_tests_helper.SetLogLevel(options.verbose_count)
25 return dispatch.Dispatch(options)
14 26
15 27
16 if __name__ == '__main__': 28 if __name__ == '__main__':
17 args = ['python', 29 sys.exit(main(sys.argv))
18 os.path.join(os.path.dirname(__file__), 'test_runner.py'),
19 'content_browsertests'] + sys.argv[1:]
20 logging.warning('*' * 80)
21 logging.warning('This script is deprecated and will be removed soon.')
22 logging.warning('Use the following instead: %s', ' '.join(args))
23 logging.warning('*' * 80)
24 sys.exit(cmd_helper.RunCmd(args))
OLDNEW
« no previous file with comments | « trunk/src/build/android/pylib/utils/test_options_parser.py ('k') | trunk/src/build/android/run_instrumentation_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698