Chromium Code Reviews| Index: build/android/run_browser_tests.py |
| diff --git a/build/android/run_browser_tests.py b/build/android/run_browser_tests.py |
| new file mode 100755 |
| index 0000000000000000000000000000000000000000..861666dee452155d7a8b35ecd6275776383700db |
| --- /dev/null |
| +++ b/build/android/run_browser_tests.py |
| @@ -0,0 +1,29 @@ |
| +#!/usr/bin/env python |
| +# |
| +# Copyright (c) 2013 The Chromium Authors. All rights reserved. |
|
craigdh
2013/02/21 00:26:02
There was just a thread on chromium-dev, apparentl
nilesh
2013/02/21 18:04:13
Done.
|
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +"""Runs content browser tests.""" |
| + |
| +import optparse |
| +import sys |
| + |
| +from pylib.browsertests import dispatch |
| +from pylib.utils import run_tests_helper |
| +from pylib.utils import test_options_parser |
| + |
| +def main(argv): |
| + option_parser = optparse.OptionParser() |
| + test_options_parser.AddGTestOptions(option_parser) |
| + options, args = option_parser.parse_args(argv) |
| + |
| + if len(args) > 1: |
| + option_parser.error('Unknown argument: %s' % args[1:]) |
| + |
| + run_tests_helper.SetLogLevel(options.verbose_count) |
| + return dispatch.Dispatch(options) |
| + |
| + |
| +if __name__ == '__main__': |
| + sys.exit(main(sys.argv)) |