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

Unified Diff: content/public/test/browser_test_utils.cc

Issue 10907162: Reland: Take 2: Force python test server output to be unbuffered, so it doesn't mix with gtest outpu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « no previous file | content/test/layout_test_http_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/browser_test_utils.cc
diff --git a/content/public/test/browser_test_utils.cc b/content/public/test/browser_test_utils.cc
index ed0379d0aa7afcae979eee9f83ddf3ecc9ea80a5..e8e29a9186827a9b48911a35546f80df42a8db2d 100644
--- a/content/public/test/browser_test_utils.cc
+++ b/content/public/test/browser_test_utils.cc
@@ -544,6 +544,11 @@ CommandLine* TestWebSocketServer::CreateWebSocketServerCommandLine() {
script_path = script_path.AppendASCII("new-run-webkit-websocketserver");
CommandLine* cmd_line = CreatePythonCommandLine();
+
+ // Use unbuffered output, so that testserver output doesn't mix with gtest
+ // output in test log files. See http://crbug.com/147368.
+ cmd_line->AppendArg("-u");
Paweł Hajdan Jr. 2012/09/11 08:57:31 Why not in CreatePythonCommandLine? In fact, to r
Raghu Simha 2012/09/11 21:58:04 Done.
+
cmd_line->AppendArgPath(script_path);
return cmd_line;
}
« no previous file with comments | « no previous file | content/test/layout_test_http_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698