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

Unified Diff: build/android/run_tests.py

Issue 10917283: Upstream changes to python tests. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 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/run_monkey_test.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_tests.py
diff --git a/build/android/run_tests.py b/build/android/run_tests.py
index 84a13997dc1fd272e6b0878cc92efecedb02b597..8a8bd26954546459758fff387818137a89b4aa61 100755
--- a/build/android/run_tests.py
+++ b/build/android/run_tests.py
@@ -51,6 +51,7 @@ failed on device.
import fnmatch
import logging
+import optparse
import os
import signal
import subprocess
@@ -375,8 +376,8 @@ def ListTestSuites():
def main(argv):
- option_parser = test_options_parser.CreateTestRunnerOptionParser(
- None, default_timeout=0)
+ option_parser = optparse.OptionParser()
+ test_options_parser.AddTestRunnerOptions(option_parser, default_timeout=0)
option_parser.add_option('-s', '--suite', dest='test_suite',
help='Executable name of the test suite to run '
'(use -s help to list them)')
« no previous file with comments | « build/android/run_monkey_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698