diff options
Diffstat (limited to 'test/test_main_lib.cc')
-rw-r--r-- | test/test_main_lib.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_main_lib.cc b/test/test_main_lib.cc index f954a5eee5..15318b49e1 100644 --- a/test/test_main_lib.cc +++ b/test/test_main_lib.cc @@ -175,10 +175,10 @@ class TestMainImpl : public TestMain { #else int exit_code = RUN_ALL_TESTS(); - std::string chartjson_result_file = + std::string perf_output_file = absl::GetFlag(FLAGS_isolated_script_test_perf_output); - if (!chartjson_result_file.empty()) { - if (!webrtc::test::WritePerfResults(chartjson_result_file)) { + if (!perf_output_file.empty()) { + if (!webrtc::test::WritePerfResults(perf_output_file)) { return 1; } } |