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

Issue 243036: Make cctest test-debug.cc more accurate (Closed)

Created:
11 years, 2 months ago by Peter Rybin
Modified:
9 years, 7 months ago
Reviewers:
Søren Thygesen Gjesse, sgjesse
CC:
v8-dev
Visibility:
Public.

Description

Make cctest test-debug.cc more accurate Committed: http://code.google.com/p/v8/source/detail?r=3044

Patch Set 1 #

Patch Set 2 : clean-up #

Patch Set 3 : clean-up #

Total comments: 16

Patch Set 4 : follow codereview #

Total comments: 2

Patch Set 5 : follow codereview #

Patch Set 6 : clean up #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -31 lines) Patch
M test/cctest/test-debug.cc View 1 2 3 4 5 11 chunks +107 lines, -31 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Peter Rybin
Hi Soren Before I change running variable I'd like to clean up our cctest tests. ...
11 years, 2 months ago (2009-09-29 20:16:50 UTC) #1
Søren Thygesen Gjesse
LGTM, with comments The JSON protocol debugger tests are definitely in need of an overhaul. ...
11 years, 2 months ago (2009-09-30 08:34:48 UTC) #2
Peter Rybin
http://codereview.chromium.org/243036/diff/1002/2002 File test/cctest/test-debug.cc (right): http://codereview.chromium.org/243036/diff/1002/2002#newcode3556 Line 3556: bool IsExceptionOrBreakEventMessage(char *message) { On 2009/09/30 08:34:48, Søren ...
11 years, 2 months ago (2009-10-05 15:01:05 UTC) #3
Søren Thygesen Gjesse
LGTM http://codereview.chromium.org/243036/diff/4001/4002 File test/cctest/test-debug.cc (right): http://codereview.chromium.org/243036/diff/4001/4002#newcode4394 Line 4394: if (IsExceptionEventMessage(print_buffer)) { This does not match ...
11 years, 2 months ago (2009-10-07 14:42:54 UTC) #4
Peter Rybin
11 years, 2 months ago (2009-10-07 15:17:07 UTC) #5
http://codereview.chromium.org/243036/diff/4001/4002
File test/cctest/test-debug.cc (right):

http://codereview.chromium.org/243036/diff/4001/4002#newcode4394
Line 4394: if (IsExceptionEventMessage(print_buffer)) {
On 2009/10/07 14:42:54, Søren Gjesse wrote:
> This does not match the comment below. Can´t this handler just always send a
> continue command?

I thought you wanted to "use the most precise expectation in
the tests" :)

Actually continue command has its own response message which will feed us back
(is it called Larse effect?) and we'll get into infinite loop.

Powered by Google App Engine
This is Rietveld 408576698