Commit 07426c18 authored by Andrew Grieve's avatar Andrew Grieve Committed by Commit Bot

Android test_runner.py: Make --fast-local-dev set --local-output

--local-output prevents bug reports being generated when things go wrong
(annoying for local dev), and causes html report to be generated locally
(often not necessary, but sometimes useful)

Change-Id: Ib089f3a496569904df4ccc5486fbf0e5403e428d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1627527Reviewed-by: default avatarPeter Conn <peconn@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#663056}
parent b567a63f
......@@ -175,11 +175,12 @@ def AddCommonOptions(parser):
class FastLocalDevAction(argparse.Action):
def __call__(self, parser, namespace, values, option_string=None):
namespace.num_retries = 0
namespace.enable_device_cache = True
namespace.enable_concurrent_adb = True
namespace.skip_clear_data = True
namespace.enable_device_cache = True
namespace.extract_test_list_from_filter = True
namespace.local_output = True
namespace.num_retries = 0
namespace.skip_clear_data = True
parser.add_argument(
'--fast-local-dev',
......@@ -188,7 +189,7 @@ def AddCommonOptions(parser):
action=FastLocalDevAction,
help='Alias for: --num-retries=0 --enable-device-cache '
'--enable-concurrent-adb --skip-clear-data '
'--extract-test-list-from-filter')
'--extract-test-list-from-filter --local-output')
# TODO(jbudorick): Remove this once downstream bots have switched to
# api.test_results.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment