aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorPatrik Höglund <phoglund@webrtc.org>2020-03-25 08:58:51 +0100
committerCommit Bot <commit-bot@chromium.org>2020-03-25 09:56:07 +0000
commit1b20c41dcbfb4f9320cffe43f22a887dc30bd53b (patch)
tree0a51d14e940aa43b66d7a0c01c36c26d86c4884d /audio
parent0e5527529a0bcdeb60cc8e0ee2d4f67fdd987dc0 (diff)
downloadwebrtc-1b20c41dcbfb4f9320cffe43f22a887dc30bd53b.tar.gz
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}
Diffstat (limited to 'audio')
-rwxr-xr-xaudio/test/low_bandwidth_audio_test.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/audio/test/low_bandwidth_audio_test.py b/audio/test/low_bandwidth_audio_test.py
index cc6a70eeaf..44ad1a1b44 100755
--- a/audio/test/low_bandwidth_audio_test.py
+++ b/audio/test/low_bandwidth_audio_test.py
@@ -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()