Changing command line flag for scenario logs root directory.
There was a name collision with downstream test frameworks.
Bug: webrtc:9510
Change-Id: I7e37a8a54701ef4a47c687aec51f37523759f1b2
Reviewed-on: https://webrtc-review.googlesource.com/c/123044
Reviewed-by: Christoffer Rodbro <crodbro@webrtc.org>
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26683}
diff --git a/test/scenario/scenario.cc b/test/scenario/scenario.cc
index 42203dc..9b8a1bf 100644
--- a/test/scenario/scenario.cc
+++ b/test/scenario/scenario.cc
@@ -21,7 +21,7 @@
#include "test/testsupport/file_utils.h"
WEBRTC_DEFINE_bool(scenario_logs, false, "Save logs from scenario framework.");
-WEBRTC_DEFINE_string(out_root,
+WEBRTC_DEFINE_string(scenario_logs_root,
"",
"Output root path, based on project root if unset.");
@@ -32,7 +32,7 @@
std::unique_ptr<FileLogWriterFactory> GetScenarioLogManager(
std::string file_name) {
if (FLAG_scenario_logs && !file_name.empty()) {
- std::string output_root = FLAG_out_root;
+ std::string output_root = FLAG_scenario_logs_root;
if (output_root.empty())
output_root = OutputPath() + "output_data/";