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

Issue 16117004: Enable the use of system python in testing.

Created:
7 years, 6 months ago by msimonides
Modified:
7 years, 4 months ago
Reviewers:
Paweł Hajdan Jr.
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Enable the use of system python in testing. BUG=

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M build/common.gypi View 3 chunks +9 lines, -0 lines 0 comments Download
M net/test/python_utils.cc View 1 chunk +4 lines, -0 lines 1 comment Download

Messages

Total messages: 8 (0 generated)
msimonides
7 years, 6 months ago (2013-06-03 13:24:36 UTC) #1
Paweł Hajdan Jr.
https://codereview.chromium.org/16117004/diff/1/net/test/python_utils.cc File net/test/python_utils.cc (right): https://codereview.chromium.org/16117004/diff/1/net/test/python_utils.cc#newcode112 net/test/python_utils.cc:112: dir = base::FilePath(FILE_PATH_LITERAL("python.exe")); Could you explain more how and ...
7 years, 6 months ago (2013-06-03 18:28:19 UTC) #2
msimonides
On 2013/06/03 18:28:19, Paweł Hajdan Jr. wrote: > https://codereview.chromium.org/16117004/diff/1/net/test/python_utils.cc > File net/test/python_utils.cc (right): > > ...
7 years, 6 months ago (2013-06-04 06:22:23 UTC) #3
Paweł Hajdan Jr.
On 2013/06/04 06:22:23, msimonides wrote: > We want to avoid bundling third_party/python_26 with each test ...
7 years, 6 months ago (2013-06-04 17:58:54 UTC) #4
msimonides
On 2013/06/04 17:58:54, Paweł Hajdan Jr. wrote: > On 2013/06/04 06:22:23, msimonides wrote: > > ...
7 years, 6 months ago (2013-06-05 09:14:24 UTC) #5
Paweł Hajdan Jr.
> in order to slim down the size of the whole package of the build ...
7 years, 6 months ago (2013-06-05 18:58:06 UTC) #6
msimonides
On 2013/06/05 18:58:06, Paweł Hajdan Jr. wrote: [...] > I wonder if it's possible to ...
7 years, 6 months ago (2013-06-06 08:46:37 UTC) #7
Daniel Bratell
7 years, 4 months ago (2013-08-01 12:18:42 UTC) #8
On 2013/06/06 08:46:37, msimonides wrote:
> On 2013/06/05 18:58:06, Paweł Hajdan Jr. wrote:
> [...]
> > I wonder if it's possible to do the same on Windows - could you try
launching
> > just python.exe with third_party/python_26 at the end of PATH? I think
that'd
> be
> > a better solution than adding more build options.
> 
> This is a good idea.
> Even if relative paths in PATH won't work I can always build an absolute one
and
> append it to environment.
> It will be a bit more code changes though, especially that base::LaunchOptions
> doesn't seem to allow setting the environment on Windows. I guess I should use
> CreateProcess directly in
net/test/spawned_test_server/local_test_server_win.cc.
> Currently I have a few tasks of higher priority so I'll get back to you in
some
> time, when I try it out.

Alternative solution implemented in https://codereview.chromium.org/21537002

Powered by Google App Engine
This is Rietveld 408576698