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

Issue 646013003: GN: Capture and print stderr from exec_script (Closed)

Created:
6 years, 2 months ago by cjhopman
Modified:
6 years, 2 months ago
Reviewers:
brettw
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

GN: Capture and print stderr from exec_script This moves ExecProcess to exec_process.h/cc and adds capturing of stderr on linux. Adds unittests for ExecProcess. Windows is not supported. Committed: https://crrev.com/5579301b2f2c78d737c07d832f3e4b57f167729d Cr-Commit-Position: refs/heads/master@{#299951}

Patch Set 1 #

Patch Set 2 : Let's see what windows trybots think of this #

Patch Set 3 : Maybe fix windows compile #

Total comments: 1

Patch Set 4 : Only for making it easier to see the diff #

Total comments: 1

Patch Set 5 : Back to the change #

Patch Set 6 : Ha, even better for diffing... using really low --similarity #

Total comments: 7

Patch Set 7 : #

Patch Set 8 : Disable stderr tests on windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -438 lines) Patch
M tools/gn/BUILD.gn View 1 2 chunks +3 lines, -0 lines 0 comments Download
A + tools/gn/exec_process.h View 1 2 3 4 5 1 chunk +9 lines, -8 lines 0 comments Download
A + tools/gn/exec_process.cc View 1 2 3 4 5 6 9 chunks +51 lines, -219 lines 0 comments Download
A tools/gn/exec_process_unittest.cc View 1 2 3 4 5 6 7 1 chunk +126 lines, -0 lines 0 comments Download
M tools/gn/function_exec_script.cc View 1 5 chunks +7 lines, -211 lines 0 comments Download
M tools/gn/gn.gyp View 1 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
cjhopman
brettw: * https://codereview.chromium.org/646013003/diff/250001/tools/gn/exec_process_unittest.cc File tools/gn/exec_process_unittest.cc (right): https://codereview.chromium.org/646013003/diff/250001/tools/gn/exec_process_unittest.cc#newcode70 tools/gn/exec_process_unittest.cc:70: TEST(ExecProcessTest, TestStdoutAndStderrOutput) { Windows should fail these ...
6 years, 2 months ago (2014-10-13 18:07:55 UTC) #2
cjhopman
https://codereview.chromium.org/646013003/diff/340001/tools/gn/exec_process.cc File tools/gn/exec_process.cc (right): https://codereview.chromium.org/646013003/diff/340001/tools/gn/exec_process.cc#newcode1 tools/gn/exec_process.cc:1: // Copyright (c) 2013 The Chromium Authors. All rights ...
6 years, 2 months ago (2014-10-13 18:18:49 UTC) #3
brettw
lgtm https://codereview.chromium.org/646013003/diff/440001/tools/gn/exec_process.cc File tools/gn/exec_process.cc (right): https://codereview.chromium.org/646013003/diff/440001/tools/gn/exec_process.cc#newcode140 tools/gn/exec_process.cc:140: Nit: only one blank https://codereview.chromium.org/646013003/diff/440001/tools/gn/exec_process.cc#newcode168 tools/gn/exec_process.cc:168: return false; ...
6 years, 2 months ago (2014-10-14 17:27:56 UTC) #4
cjhopman
https://codereview.chromium.org/646013003/diff/440001/tools/gn/exec_process.cc File tools/gn/exec_process.cc (right): https://codereview.chromium.org/646013003/diff/440001/tools/gn/exec_process.cc#newcode140 tools/gn/exec_process.cc:140: On 2014/10/14 17:27:56, brettw wrote: > Nit: only one ...
6 years, 2 months ago (2014-10-16 18:25:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/646013003/520001
6 years, 2 months ago (2014-10-16 18:25:50 UTC) #7
commit-bot: I haz the power
Committed patchset #8 (id:520001)
6 years, 2 months ago (2014-10-16 19:19:53 UTC) #8
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 19:23:18 UTC) #9
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/5579301b2f2c78d737c07d832f3e4b57f167729d
Cr-Commit-Position: refs/heads/master@{#299951}

Powered by Google App Engine
This is Rietveld 408576698