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

Issue 3366026: Add python_utils to append to python path (Closed)

Created:
10 years, 3 months ago by lzheng
Modified:
9 years, 7 months ago
Reviewers:
Paweł Hajdan Jr.
CC:
chromium-reviews, pam+watch_chromium.org, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Refactor test_server so some python related functions could be shared by other test servers. BUG=none TEST=python_utils_unittest.cc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=59671

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 10

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Total comments: 10

Patch Set 12 : '' #

Patch Set 13 : '' #

Total comments: 8

Patch Set 14 : Address Pawel's comments #

Total comments: 1

Patch Set 15 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -35 lines) Patch
M net/net.gyp View 2 chunks +3 lines, -0 lines 0 comments Download
A net/test/python_utils.h View 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +23 lines, -0 lines 0 comments Download
A net/test/python_utils.cc View 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +51 lines, -0 lines 0 comments Download
A net/test/python_utils_unittest.cc View 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +51 lines, -0 lines 0 comments Download
M net/test/test_server.h View 10 11 1 chunk +0 lines, -3 lines 0 comments Download
M net/test/test_server.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
MM net/test/test_server_posix.cc View 1 chunk +0 lines, -16 lines 0 comments Download
MM net/test/test_server_win.cc View 1 chunk +0 lines, -16 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
lzheng
Please review. I can rebase http://codereview.chromium.org/3277008 with this CL or we can get that CL ...
10 years, 3 months ago (2010-09-14 06:38:38 UTC) #1
Paweł Hajdan Jr.
http://codereview.chromium.org/3366026/diff/43001/34003 File net/test/python_utils.cc (right): http://codereview.chromium.org/3366026/diff/43001/34003#newcode38 net/test/python_utils.cc:38: bool GetPythonRunTime(FilePath* dir) { It seems dangerous that we ...
10 years, 3 months ago (2010-09-14 17:17:07 UTC) #2
lzheng
Pawel: Thanks for the review. Please take another look. http://codereview.chromium.org/3366026/diff/43001/34003 File net/test/python_utils.cc (right): http://codereview.chromium.org/3366026/diff/43001/34003#newcode38 net/test/python_utils.cc:38: ...
10 years, 3 months ago (2010-09-14 17:52:55 UTC) #3
lzheng1
FYI: I updated the test_server to export its wait for server to start function. On ...
10 years, 3 months ago (2010-09-14 23:18:31 UTC) #4
Paweł Hajdan Jr.
http://codereview.chromium.org/3366026/diff/37004/59002 File net/test/python_utils.cc (right): http://codereview.chromium.org/3366026/diff/37004/59002#newcode39 net/test/python_utils.cc:39: dir->clear(); nit: This is overcomplicated. Why not assign to ...
10 years, 3 months ago (2010-09-15 00:43:50 UTC) #5
lzheng1
On Tue, Sep 14, 2010 at 5:43 PM, <phajdan.jr@chromium.org> wrote: > > http://codereview.chromium.org/3366026/diff/37004/59002 > > ...
10 years, 3 months ago (2010-09-15 04:55:29 UTC) #6
Paweł Hajdan Jr.
David's CL is http://codereview.chromium.org/3368012/show, and TCPPinger is going to be removed (and I want it ...
10 years, 3 months ago (2010-09-15 17:38:22 UTC) #7
lzheng1
First, I removed the WaitForServer start change. So, we only have the python related change ...
10 years, 3 months ago (2010-09-15 18:58:24 UTC) #8
Paweł Hajdan Jr.
http://codereview.chromium.org/3366026/diff/18002/60003 File net/test/python_utils.cc (right): http://codereview.chromium.org/3366026/diff/18002/60003#newcode39 net/test/python_utils.cc:39: dir->clear(); We should just assign below, please see my ...
10 years, 3 months ago (2010-09-15 20:15:53 UTC) #9
lzheng
Done. Another look? Lei http://codereview.chromium.org/3366026/diff/37004/59002 File net/test/python_utils.cc (right): http://codereview.chromium.org/3366026/diff/37004/59002#newcode39 net/test/python_utils.cc:39: dir->clear(); On 2010/09/15 00:43:50, Paweł ...
10 years, 3 months ago (2010-09-15 21:16:04 UTC) #10
Paweł Hajdan Jr.
lg with a nit http://codereview.chromium.org/3366026/diff/60010/66004 File net/test/python_utils.h (right): http://codereview.chromium.org/3366026/diff/60010/66004#newcode13 net/test/python_utils.h:13: // This is the python ...
10 years, 3 months ago (2010-09-15 22:02:58 UTC) #11
lzheng
10 years, 3 months ago (2010-09-15 22:36:50 UTC) #12
Done.
Submitting ...

On 2010/09/15 22:02:58, Paweł Hajdan Jr. wrote:
> lg with a nit
> 
> http://codereview.chromium.org/3366026/diff/60010/66004
> File net/test/python_utils.h (right):
> 
> http://codereview.chromium.org/3366026/diff/60010/66004#newcode13
> net/test/python_utils.h:13: // This is the python path avariable name.
> nit: typo (should be variable)

Powered by Google App Engine
This is Rietveld 408576698