| 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,
|
|
|