From e9ff992fd617b28f90ae1c9acfe8fd3c362a3f24 Mon Sep 17 00:00:00 2001 From: Mirko Bonadei Date: Mon, 22 Jul 2019 09:08:08 +0200 Subject: [PATCH] Fix isac_fix_test perf reporting. The regression has been introduced by [1] and here is an example of the problem [2]. [1] - https://webrtc.googlesource.com/src/+/2ab97f6f8e27b47c0d9beeb8b6ca5387bda9f55c [2] - https://ci.chromium.org/p/webrtc/builders/perf/Perf%20Linux%20Trusty/1543 TBR=minyue@webrtc.org Bug: webrtc:10616 Change-Id: I109b55a612d49981ce74c3e4cd50603ee0003250 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/146540 Commit-Queue: Mirko Bonadei Reviewed-by: Oleh Prypin Cr-Commit-Position: refs/heads/master@{#28627} --- modules/audio_coding/codecs/isac/fix/test/kenny.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/audio_coding/codecs/isac/fix/test/kenny.cc b/modules/audio_coding/codecs/isac/fix/test/kenny.cc index fb64a2b597..c6e54bc4f0 100644 --- a/modules/audio_coding/codecs/isac/fix/test/kenny.cc +++ b/modules/audio_coding/codecs/isac/fix/test/kenny.cc @@ -243,7 +243,7 @@ TEST(IsacFixTest, Kenny) { "[-RTP_INIT num] :if -RTP_INIT option is specified num will be" " the initial\n"); printf(" value of the rtp sequence number.\n\n"); - printf("[--isolated-script-test-perf-output=file]\n"); + printf("[--isolated_script_test_perf_output=file]\n"); printf( " :If this option is specified, perf values will be" " written to this file in a JSON format.\n\n"); @@ -453,10 +453,10 @@ TEST(IsacFixTest, Kenny) { i++; } - if (strstr(argv[i], "--isolated-script-test-perf-output") == argv[i]) { + if (strstr(argv[i], "--isolated_script_test_perf_output") == argv[i]) { const char* filename_start = strstr(argv[i], "="); if (!filename_start || strlen(filename_start) < 2) { - printf("Expected --isolated-script-test-perf-output=/some/filename\n"); + printf("Expected --isolated_script_test_perf_output=/some/filename\n"); exit(1); } chartjson_result_file = filename_start + 1;