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

Unified Diff: base/test/test_suite.cc

Issue 542893002: Add trace-to-file support for base::TestSuite (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CHECK -> DCHECK Created 6 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
« base/debug/trace_to_file.cc ('K') | « base/test/test_suite.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_suite.cc
diff --git a/base/test/test_suite.cc b/base/test/test_suite.cc
index 0084d1e41de3e2f085d7fcbee3443befc27e7fc8..e39b44084845cc981d402ea4105d8dccc5b4bd61 100644
--- a/base/test/test_suite.cc
+++ b/base/test/test_suite.cc
@@ -338,6 +338,8 @@ void TestSuite::Initialize() {
#endif // !defined(OS_IOS)
TestTimeouts::Initialize();
+
+ trace_to_file_.BeginTracingFromCommandLineOptions();
}
void TestSuite::Shutdown() {
« base/debug/trace_to_file.cc ('K') | « base/test/test_suite.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698