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

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

Issue 211173006: Perform tlslite 0.3.8 -> 0.4.6 renames ahead of time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More fixes. Oops. Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/policy/test/policy_testserver.py ('k') | third_party/tlslite/README.chromium » ('j') | 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 "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/environment.h" 9 #include "base/environment.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // This permits finding the proper python in path even if it is a .bat file. 113 // This permits finding the proper python in path even if it is a .bat file.
114 python_cmd->SetProgram(base::FilePath(FILE_PATH_LITERAL("cmd.exe"))); 114 python_cmd->SetProgram(base::FilePath(FILE_PATH_LITERAL("cmd.exe")));
115 python_cmd->AppendArg("/c"); 115 python_cmd->AppendArg("/c");
116 python_cmd->AppendArg("python"); 116 python_cmd->AppendArg("python");
117 #else 117 #else
118 python_cmd->SetProgram(base::FilePath(FILE_PATH_LITERAL("python"))); 118 python_cmd->SetProgram(base::FilePath(FILE_PATH_LITERAL("python")));
119 #endif // defined(OS_WIN) 119 #endif // defined(OS_WIN)
120 // Launch python in unbuffered mode, so that python output doesn't mix with 120 // Launch python in unbuffered mode, so that python output doesn't mix with
121 // gtest output in buildbot log files. See http://crbug.com/147368. 121 // gtest output in buildbot log files. See http://crbug.com/147368.
122 python_cmd->AppendArg("-u"); 122 python_cmd->AppendArg("-u");
123 // Don't generate .pyc files. This avoids future problems if upstreams for our
124 // bundled libraries rename more files. See http://crbug.com/356276
125 python_cmd->AppendArg("-B");
Ryan Sleevi 2014/03/31 19:42:14 Someone from infra should review this change - as
Peter Mayo (wrong one) 2014/04/03 21:16:30 I certainly don't want to see this (independent) c
davidben 2014/04/03 21:29:33 What are the better ways we have? It's a problem r
123 126
124 return true; 127 return true;
125 } 128 }
OLDNEW
« no previous file with comments | « chrome/browser/policy/test/policy_testserver.py ('k') | third_party/tlslite/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698