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

Unified Diff: build/android/test_runner.py

Issue 1049993003: Revert of [Android] Clean up old_interface in build/android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/utils/test_environment.py ('k') | build/android/update_verification.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/test_runner.py
diff --git a/build/android/test_runner.py b/build/android/test_runner.py
index 7d5039104dd0ac5b8a38f559951b113e477b40db..368ac06aff109931487a0f4b1497f16e292a2f4c 100755
--- a/build/android/test_runner.py
+++ b/build/android/test_runner.py
@@ -175,6 +175,9 @@
def AddDeviceOptions(parser):
"""Adds device options to |parser|."""
group = parser.add_argument_group(title='Device Options')
+ group.add_argument('-c', dest='cleanup_test_files',
+ help='Cleanup test files on the device after run',
+ action='store_true')
group.add_argument('--tool',
dest='tool',
help=('Run the test under a tool '
@@ -369,6 +372,7 @@
# TODO(jbudorick): Get rid of InstrumentationOptions.
return instrumentation_test_options.InstrumentationOptions(
args.tool,
+ args.cleanup_test_files,
args.annotations,
args.exclude_annotations,
args.test_filter,
@@ -433,6 +437,7 @@
return uiautomator_test_options.UIAutomatorOptions(
args.tool,
+ args.cleanup_test_files,
args.annotations,
args.exclude_annotations,
args.test_filter,
@@ -631,6 +636,7 @@
# into the gtest code.
gtest_options = gtest_test_options.GTestOptions(
args.tool,
+ args.cleanup_test_files,
args.test_filter,
args.run_disabled,
args.test_arguments,
« no previous file with comments | « build/android/pylib/utils/test_environment.py ('k') | build/android/update_verification.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698