From 71d766eb4bd10277faafa1a3a47ebdc1dc4bd716 Mon Sep 17 00:00:00 2001 From: Edward Lemur Date: Mon, 5 Feb 2018 21:59:36 +0100 Subject: [PATCH] Pass the right flag to Android video quality test. Pass --isolated-script-test-output instead of --chartjson-result-file. TBR=phoglund@webrtc.org Bug: chromium:755660 Change-Id: I6b55a4461428526de77bf192600de81b8cc029b2 Reviewed-on: https://webrtc-review.googlesource.com/48180 Commit-Queue: Edward Lemur Reviewed-by: Oleh Prypin Cr-Commit-Position: refs/heads/master@{#21909} --- examples/androidtests/video_quality_loopback_test.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/androidtests/video_quality_loopback_test.py b/examples/androidtests/video_quality_loopback_test.py index 40c0bae144..ce10ee6ef0 100755 --- a/examples/androidtests/video_quality_loopback_test.py +++ b/examples/androidtests/video_quality_loopback_test.py @@ -86,7 +86,7 @@ def _ParseArgs(): parser.add_argument('--temp_dir', help='A temporary directory to put the output.') parser.add_argument('--adb-path', help='Path to adb binary.', default='adb') - parser.add_argument('--chartjson-result-file', + parser.add_argument('--isolated-script-test-perf-output', help='Where to store perf results in chartjson format.', default=None) args, unknown_args = parser.parse_known_args() @@ -95,8 +95,6 @@ def _ParseArgs(): parser = argparse.ArgumentParser() parser.add_argument('--isolated-script-test-output', type=str, default=None) - parser.add_argument('--isolated-script-test-perf-output', - type=str, default=None) parser.add_argument('--test-launcher-summary-output', type=str, default=None) @@ -228,7 +226,7 @@ def main(): android_device = SelectAndroidDevice(adb_path) SetUpTools(android_device, temp_dir, processes) RunTest(android_device, adb_path, build_dir, temp_dir, - args.chartjson_result_file) + args.isolated_script_test_perf_output) finally: for process in processes: if process: