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

Issue 13849008: Fix so that you can run presubmit.py in Windows. (Closed)

Created:
7 years, 8 months ago by Daniel Bratell
Modified:
7 years, 8 months ago
Reviewers:
Yang
CC:
v8-dev
Visibility:
Public.

Description

Fix so that you can run presubmit.py in Windows. presubmit.py tried to execute cpplint.py directly, but in Windows it's the shell that connects that to the python binary so the execution (subprocess.Popen) needs to be told how to find python. An alternative would be to call subprocess.Popen with shell=True but this is less dangerous. Committed: https://code.google.com/p/v8/source/detail?r=14263

Patch Set 1 : #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -4 lines) Patch
M tools/presubmit.py View 1 2 chunks +17 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Daniel Bratell
Fix so that you can run presubmit.py in Windows. presubmit.py tried to execute cpplint.py directly, ...
7 years, 8 months ago (2013-04-11 11:48:10 UTC) #1
Yang
On 2013/04/11 11:48:10, bratell wrote: > Fix so that you can run presubmit.py in Windows. ...
7 years, 8 months ago (2013-04-11 12:25:22 UTC) #2
Daniel Bratell
> This doesn't seem to work on on Linux workstation for some reason. Paths... The ...
7 years, 8 months ago (2013-04-11 15:33:05 UTC) #3
Yang
On 2013/04/11 15:33:05, bratell wrote: > > This doesn't seem to work on on Linux ...
7 years, 8 months ago (2013-04-15 12:18:23 UTC) #4
Yang
Committed patchset #2 manually as r14263 (presubmit successful).
7 years, 8 months ago (2013-04-15 12:21:12 UTC) #5
Daniel Bratell
7 years, 8 months ago (2013-04-15 12:40:04 UTC) #6
Message was sent while issue was closed.
On 2013/04/15 12:21:12, Yang wrote:
> Committed patchset #2 manually as r14263 (presubmit successful).

Thanks a lot for your help!

Powered by Google App Engine
This is Rietveld 408576698