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

Issue 8964004: check for successful exit code in WaitForSingleProcess on Windows to (Closed)

Created:
9 years ago by Derek Bruening
Modified:
8 years, 11 months ago
CC:
chromium-reviews, Paweł Hajdan Jr., brettw-cc_chromium.org, drmemory-team_google.com
Visibility:
Public.

Description

check for successful exit code in WaitForSingleProcess on Windows to match other platforms. consequentially, in browser tests, add PROCESS_QUERY_INFORMATION to the rights requested when opening a child serviceprocess handle so the exit code can be queried. BUG=106234 TEST=Ran base_unittests.exe --gtest_filter="ProcessUtilTest.SpawnChild" with the child custom-tweaked to fail and verified that prior to my change (with HEAD) the failure is NOT detected and the test passes; with this change the failure is detected. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=118695

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M base/process_util_win.cc View 1 chunk +4 lines, -2 lines 3 comments Download
M chrome/browser/service/service_process_control_browsertest.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
Derek Bruening
Partway through a trybot run. Will also commit through CQ as extra precaution.
9 years ago (2011-12-15 22:03:48 UTC) #1
Reid Kleckner
http://codereview.chromium.org/8964004/diff/1/base/process_util_win.cc File base/process_util_win.cc (right): http://codereview.chromium.org/8964004/diff/1/base/process_util_win.cc#newcode613 base/process_util_win.cc:613: return exit_code == 0; This has slightly different semantics ...
9 years ago (2011-12-15 22:14:19 UTC) #2
bruening
http://codereview.chromium.org/8964004/diff/1/base/process_util_win.cc File base/process_util_win.cc (right): http://codereview.chromium.org/8964004/diff/1/base/process_util_win.cc#newcode613 base/process_util_win.cc:613: return exit_code == 0; The problem is that on ...
9 years ago (2011-12-16 04:08:06 UTC) #3
cpu_(ooo_6.6-7.5)
lgtm
9 years ago (2011-12-20 22:56:32 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bruening@chromium.org/8964004/1
9 years ago (2011-12-20 23:38:53 UTC) #5
commit-bot: I haz the power
Presubmit check for 8964004-1 failed and returned exit status 1. Running presubmit commit checks ...
9 years ago (2011-12-20 23:38:55 UTC) #6
Reid Kleckner
LGTM Just to follow up. http://codereview.chromium.org/8964004/diff/1/base/process_util_win.cc File base/process_util_win.cc (right): http://codereview.chromium.org/8964004/diff/1/base/process_util_win.cc#newcode613 base/process_util_win.cc:613: return exit_code == 0; ...
9 years ago (2011-12-20 23:43:24 UTC) #7
brettw
lgtm
9 years ago (2011-12-20 23:44:40 UTC) #8
Derek Bruening
On 2011/12/20 23:38:55, I haz the power (commit-bot) wrote: > ** Presubmit ERRORS ** > ...
9 years ago (2011-12-20 23:47:24 UTC) #9
Derek Bruening
On 2011/12/20 23:47:24, Derek Bruening wrote: > On 2011/12/20 23:38:55, I haz the power (commit-bot) ...
8 years, 11 months ago (2012-01-10 17:09:47 UTC) #10
Derek Bruening
On 2012/01/10 17:09:47, Derek Bruening wrote: > On 2011/12/20 23:47:24, Derek Bruening wrote: > > ...
8 years, 11 months ago (2012-01-19 19:05:56 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bruening@chromium.org/8964004/1
8 years, 11 months ago (2012-01-23 15:43:41 UTC) #12
commit-bot: I haz the power
8 years, 11 months ago (2012-01-23 17:35:16 UTC) #13
Change committed as 118695

Powered by Google App Engine
This is Rietveld 408576698