Index: net/tools/testserver/run_testserver.cc |
diff --git a/net/tools/testserver/run_testserver.cc b/net/tools/testserver/run_testserver.cc |
index c02d4d6e18290ee6ea016f4e8998fba16db6215e..fd874423d69ad7f57116ed8e0629ad664a1c13f9 100644 |
--- a/net/tools/testserver/run_testserver.cc |
+++ b/net/tools/testserver/run_testserver.cc |
@@ -47,6 +47,11 @@ static bool RunSyncTest() { |
} |
CommandLine python_command(python_runtime); |
+ |
+ // Use unbuffered output, so that testserver output doesn't mix with gtest |
+ // output in test log files. See http://crbug.com/147368. |
+ python_command.AppendArg("-u"); |
+ |
python_command.AppendArgPath(sync_test_path); |
if (!base::LaunchProcess(python_command, base::LaunchOptions(), NULL)) { |
LOG(ERROR) << "Failed to launch test script."; |