Fix CHECK comparison for --webrtc_test_metrics_output_path on iOS.
No-Try: True Fixed: b/237982523 Change-Id: I654bec4d08ace2d69cb8230909a3cceccf8668fa Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/286600 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Jeremy Leconte <jleconte@google.com> Auto-Submit: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38824}
This commit is contained in:
parent
b1b2840171
commit
8e21784b03
@ -113,7 +113,7 @@ static absl::optional<std::vector<std::string>> g_metrics_to_plot;
|
||||
}
|
||||
}
|
||||
if (!g_webrtc_test_metrics_output_path.empty()) {
|
||||
RTC_CHECK_NE(g_webrtc_test_metrics_output_path.find('/'), std::string::npos)
|
||||
RTC_CHECK_EQ(g_webrtc_test_metrics_output_path.find('/'), std::string::npos)
|
||||
<< "On iOS, --webrtc_test_metrics_output_path must only be a file name.";
|
||||
if ([outputDirectories count] != 0) {
|
||||
NSString *fileName = [NSString stringWithCString:g_webrtc_test_metrics_output_path.c_str()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user