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 <mbonadei@webrtc.org> Reviewed-by: Oleh Prypin <oprypin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28627}
This commit is contained in:
committed by
Commit Bot
parent
84d5d9f34e
commit
e9ff992fd6
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user