Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(710)

Unified Diff: webrtc/test/test_suite.cc

Issue 1331503002: Disable base/logging.h stderr logs by default for webrtc/ tests. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« webrtc/base/logging.cc ('K') | « webrtc/system_wrappers/source/logging.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/test_suite.cc
diff --git a/webrtc/test/test_suite.cc b/webrtc/test/test_suite.cc
index e88b0301a2b95d424c7e337786f4811bb5b3b32d..2900f0eddb14ebb85dcc09f04ac2451ddbce90d0 100644
--- a/webrtc/test/test_suite.cc
+++ b/webrtc/test/test_suite.cc
@@ -13,6 +13,7 @@
#include "gflags/gflags.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include "webrtc/base/logging.h"
#include "webrtc/test/testsupport/fileutils.h"
#include "webrtc/test/testsupport/trace_to_stderr.h"
#include "webrtc/test/field_trial.h"
@@ -49,6 +50,7 @@ int TestSuite::Run() {
}
void TestSuite::Initialize() {
+ rtc::LogMessage::SetLogToStderr(FLAGS_logs);
if (FLAGS_logs)
trace_to_stderr_.reset(new TraceToStderr);
}
« webrtc/base/logging.cc ('K') | « webrtc/system_wrappers/source/logging.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698