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 <ehmaldonado@webrtc.org>
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21909}
This commit is contained in:
Edward Lemur
2018-02-05 21:59:36 +01:00
committed by Commit Bot
parent c974b4bbc7
commit 71d766eb4b

View File

@ -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: