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

Side by Side Diff: net/test/python_utils.cc

Issue 2481823003: net: append -S to python invocation in the test server (Closed)
Patch Set: Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/test/python_utils.h" 5 #include "net/test/python_utils.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // which can cause flakiness.) 109 // which can cause flakiness.)
110 python_cmd->SetProgram(base::FilePath(g_python_path.Get().path_)); 110 python_cmd->SetProgram(base::FilePath(g_python_path.Get().path_));
111 #else 111 #else
112 python_cmd->SetProgram(base::FilePath(FILE_PATH_LITERAL("python"))); 112 python_cmd->SetProgram(base::FilePath(FILE_PATH_LITERAL("python")));
113 #endif 113 #endif
114 114
115 // Launch python in unbuffered mode, so that python output doesn't mix with 115 // Launch python in unbuffered mode, so that python output doesn't mix with
116 // gtest output in buildbot log files. See http://crbug.com/147368. 116 // gtest output in buildbot log files. See http://crbug.com/147368.
117 python_cmd->AppendArg("-u"); 117 python_cmd->AppendArg("-u");
118 118
119 // Prevent using system-installed libraries. Use hermetic versioned copies.
120 python_cmd->AppendArg("-S");
121
119 return true; 122 return true;
120 } 123 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698