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

Unified Diff: build/android/run_browser_tests.py

Issue 12263024: Android: Add test runner scripts to run content_browsertests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Frank's comments and fixed typo in constants.py Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/pylib/gtest/test_runner.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..b19ff35f846bec270e71ecf11a58cc20c959b1c0
--- /dev/null
+++ b/build/android/run_browser_tests.py
@@ -0,0 +1,29 @@
+#!/usr/bin/env python
+#
+# Copyright 2013 The Chromium Authors. All rights reserved.
+# 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))
« no previous file with comments | « build/android/pylib/gtest/test_runner.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698