Don't use gtest-parallel when running webrtc_perf_tests.

When we run webrtc_perf_tests with gtest-parallel, each test is run
individually, and this results in the file with the perf results being
overwritten each time.

To avoid this, we won't use gtest-parallel when running webrtc_perf_tests,
so we will simply run the binary directly.

TBR=phoglund@chromium.org

Bug: chromium:755660
Change-Id: I24db36e512fcf604a3de2adf4d0b4325b2c3d1ae
Reviewed-on: https://webrtc-review.googlesource.com/49340
Reviewed-by: Edward Lemur <ehmaldonado@webrtc.org>
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Commit-Queue: Edward Lemur <ehmaldonado@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21982}
This commit is contained in:
Edward Lemur
2018-02-08 20:16:41 +01:00
committed by Commit Bot
parent 88a38e32e7
commit 0c15a09293
4 changed files with 10 additions and 17 deletions

View File

@ -230,7 +230,7 @@ TEST(IsacFixTest, Kenny) {
printf("[-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("[--chartjson_result_file 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");
printf("Example usage :\n\n");
@ -390,7 +390,7 @@ TEST(IsacFixTest, Kenny) {
i++;
}
if (!strcmp ("--chartjson_result_file", argv[i])) {
if (!strcmp ("--isolated-script-test-perf-output", argv[i])) {
strncpy(chartjson_result_file, argv[i+1], 50);
i++;
}