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

Issue 15675005: Try to read the stdout pipe to the Valgrind process differently (Closed)

Created:
7 years, 7 months ago by Timur Iskhodzhanov
Modified:
7 years, 5 months ago
CC:
chromium-reviews, glider+watch_chromium.org, timurrrr+watch_chromium.org, bruening+watch_chromium.org
Visibility:
Public.

Description

Try to read the stdout pipe to the Valgrind process differently Should fix reliability_tests under Valgrind BUG=163314 TBR=glider@chromium.org NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202523

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M tools/valgrind/common.py View 3 chunks +8 lines, -8 lines 5 comments Download

Messages

Total messages: 9 (0 generated)
Timur Iskhodzhanov
TBR
7 years, 7 months ago (2013-05-28 09:47:53 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timurrrr@chromium.org/15675005/1
7 years, 7 months ago (2013-05-28 09:48:16 UTC) #2
commit-bot: I haz the power
Change committed as 202523
7 years, 6 months ago (2013-05-28 10:43:56 UTC) #3
Reid Kleckner
LGTM https://chromiumcodereview.appspot.com/15675005/diff/1/tools/valgrind/common.py File tools/valgrind/common.py (right): https://chromiumcodereview.appspot.com/15675005/diff/1/tools/valgrind/common.py#newcode88 tools/valgrind/common.py:88: sys.stdout.flush() Aha. :) Is that it?
7 years, 6 months ago (2013-05-28 13:00:27 UTC) #4
Reid Kleckner
https://chromiumcodereview.appspot.com/15675005/diff/1/tools/valgrind/common.py File tools/valgrind/common.py (right): https://chromiumcodereview.appspot.com/15675005/diff/1/tools/valgrind/common.py#newcode88 tools/valgrind/common.py:88: sys.stdout.flush() On 2013/05/28 13:00:27, Reid Kleckner wrote: > Aha. ...
7 years, 6 months ago (2013-05-28 13:01:34 UTC) #5
Timur Iskhodzhanov
https://chromiumcodereview.appspot.com/15675005/diff/1/tools/valgrind/common.py File tools/valgrind/common.py (right): https://chromiumcodereview.appspot.com/15675005/diff/1/tools/valgrind/common.py#newcode88 tools/valgrind/common.py:88: sys.stdout.flush() Nope, I don't think so - the hangs ...
7 years, 6 months ago (2013-05-28 13:01:57 UTC) #6
Nico
https://chromiumcodereview.appspot.com/15675005/diff/1/tools/valgrind/common.py File tools/valgrind/common.py (right): https://chromiumcodereview.appspot.com/15675005/diff/1/tools/valgrind/common.py#newcode59 tools/valgrind/common.py:59: while line and not did_timeout: Since this makes a ...
7 years, 5 months ago (2013-07-15 17:16:35 UTC) #7
Timur Iskhodzhanov
https://chromiumcodereview.appspot.com/15675005/diff/1/tools/valgrind/common.py File tools/valgrind/common.py (right): https://chromiumcodereview.appspot.com/15675005/diff/1/tools/valgrind/common.py#newcode59 tools/valgrind/common.py:59: while line and not did_timeout: On 2013/07/15 17:16:35, Nico ...
7 years, 5 months ago (2013-07-15 18:18:42 UTC) #8
Nico
7 years, 5 months ago (2013-07-15 18:20:30 UTC) #9
On Mon, Jul 15, 2013 at 11:18 AM, <timurrrr@chromium.org> wrote:

>
> https://chromiumcodereview.**appspot.com/15675005/diff/1/**
>
tools/valgrind/common.py<https://chromiumcodereview.appspot.com/15675005/diff/1/tools/valgrind/common.py>
> File tools/valgrind/common.py (right):
>
> https://chromiumcodereview.**appspot.com/15675005/diff/1/**
>
tools/valgrind/common.py#**newcode59<https://chromiumcodereview.appspot.com/15675005/diff/1/tools/valgrind/common.py#newcode59>
> tools/valgrind/common.py:59: while line and not did_timeout:
> On 2013/07/15 17:16:35, Nico wrote:
>
>> Since this makes a difference and is very non-obvious, having a
>>
> comment that
>
>> explains why this is a while and not a for-in loop might be a good
>>
> idea.
>
> That was done in r202841 when I actually became sure WTH is going on.
>

Awesome, thanks!

Sorry for the zombie review comment.


>
>
https://chromiumcodereview.**appspot.com/15675005/<https://chromiumcodereview...
>

Powered by Google App Engine
This is Rietveld 408576698