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

Issue 155130: Fix tools/valgrind/chrome_tests.sh to always use --log-file option... (Closed)

Created:
11 years, 5 months ago by dank
Modified:
9 years, 7 months ago
Reviewers:
the_wrong_timurrrr
CC:
chromium-reviews_googlegroups.com, John Grabowski, brettw, dank, Nirnimesh, agl
Visibility:
Public.

Description

Fix tools/valgrind/chrome_tests.sh to always use --log-file option so fork() doesn't corrupt log files; lets --generate_suppressions work even with the hacky valgrind fix that makes anything but --log-file crash on child of fork(). Also avoid killing user desktop session if zygote dies! BUG=none, but related to fix for http://crbug.com/15771 TEST=patch valgrind with fork workaround; sh tools/valgrind/chrome_tests.sh --generate_suppressions -t ui logs you out on linux without this. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=20024

Patch Set 1 #

Total comments: 3

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -8 lines) Patch
M base/process_util_posix.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M tools/valgrind/valgrind_test.py View 1 3 chunks +15 lines, -8 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
dank
Hi Timur, this goes along with the valgrind patch you're looking at, kind of. Also ...
11 years, 5 months ago (2009-07-07 05:02:53 UTC) #1
the_wrong_timurrrr
http://codereview.chromium.org/155130/diff/1/3 File base/process_util_posix.cc (right): http://codereview.chromium.org/155130/diff/1/3#newcode68 Line 68: if (process_id < 0) { process_id == 0 ...
11 years, 5 months ago (2009-07-07 08:38:53 UTC) #2
the_wrong_timurrrr
11 years, 5 months ago (2009-07-07 13:59:23 UTC) #3
http://codereview.chromium.org/155130/diff/1/3
File base/process_util_posix.cc (right):

http://codereview.chromium.org/155130/diff/1/3#newcode68
Line 68: if (process_id < 0) {
On 2009/07/07 08:38:53, timurrrr wrote:
> process_id == 0 is allowed in release mode and disallowed in debug mode. Typo?

Done.

Powered by Google App Engine
This is Rietveld 408576698