Greatly simplify flags for test binaries.
Since we're now calling the shots of what flags get passed in the recipes, we can just pass the right ones right away and remove all the flag renaming. --isolated-script-test-output is no longer passed, so we can just remove it. The recipe is currently passing --isolated-script-perf-test-output but I will start passing the underscore version shortly. Bug: chromium:1051927 Change-Id: I571090e62f79ea17c793295df7f5abb21f45d207 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/171681 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Patrik Höglund <phoglund@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30878}
This commit is contained in:
committed by
Commit Bot
parent
0e5527529a
commit
1b20c41dcb
@ -57,10 +57,8 @@ def _ParseArgs():
|
||||
parser.add_argument('--adb-path', help='Path to adb binary.', default='adb')
|
||||
parser.add_argument('--num-retries', default='0',
|
||||
help='Number of times to retry the test on Android.')
|
||||
parser.add_argument('--isolated-script-test-perf-output', default=None,
|
||||
parser.add_argument('--isolated_script_test_perf_output', default=None,
|
||||
help='Path to store perf results in chartjson format.')
|
||||
parser.add_argument('--isolated-script-test-output', default=None,
|
||||
help='Path to output an empty JSON file which Chromium infra requires.')
|
||||
parser.add_argument('--extra-test-args', default=[], action='append',
|
||||
help='Extra args to path to the test binary.')
|
||||
|
||||
@ -301,10 +299,6 @@ def main():
|
||||
with open(args.isolated_script_test_perf_output, 'w') as f:
|
||||
json.dump({"format_version": "1.0", "charts": charts}, f)
|
||||
|
||||
if args.isolated_script_test_output:
|
||||
with open(args.isolated_script_test_output, 'w') as f:
|
||||
json.dump({"version": 3}, f)
|
||||
|
||||
return test_process.wait()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user