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

Issue 8537010: Enable frong testing components. (Closed)

Created:
9 years, 1 month ago by Mads Ager (google)
Modified:
9 years, 1 month ago
Reviewers:
Bill Hesse
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Enable frog testing components. Respect timeout command-line option. Use option names with underscores understood by all components. Improve compact progress report using stdout access. R=whesse@google.com BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=1460

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -30 lines) Patch
M tests/corelib/test_config.dart View 2 chunks +6 lines, -2 lines 0 comments Download
M tests/standalone/test_config.dart View 2 chunks +6 lines, -2 lines 0 comments Download
M tools/test.dart View 1 chunk +24 lines, -6 lines 0 comments Download
M tools/testing/dart/test_options.dart View 1 chunk +1 line, -1 line 0 comments Download
M tools/testing/dart/test_progress.dart View 2 chunks +11 lines, -5 lines 0 comments Download
M tools/testing/dart/test_runner.dart View 6 chunks +26 lines, -14 lines 4 comments Download

Messages

Total messages: 3 (0 generated)
Mads Ager (google)
9 years, 1 month ago (2011-11-11 13:04:04 UTC) #1
Bill Hesse
LGTM if the race condition is fixed (or not really there). http://codereview.chromium.org/8537010/diff/1/tools/testing/dart/test_runner.dart File tools/testing/dart/test_runner.dart (right): ...
9 years, 1 month ago (2011-11-11 13:42:52 UTC) #2
Mads Ager (google)
9 years, 1 month ago (2011-11-11 14:02:07 UTC) #3
http://codereview.chromium.org/8537010/diff/1/tools/testing/dart/test_runner....
File tools/testing/dart/test_runner.dart (right):

http://codereview.chromium.org/8537010/diff/1/tools/testing/dart/test_runner....
tools/testing/dart/test_runner.dart:106: return !timedOut && exitCode != -1 &&
exitCode < 0;
On 2011/11/11 13:42:52, Bill Hesse wrote:
> Why the curly braces?

Thanks. I'll get rid of them. I added that while debugging. :)

http://codereview.chromium.org/8537010/diff/1/tools/testing/dart/test_runner....
tools/testing/dart/test_runner.dart:194: }
On 2011/11/11 13:42:52, Bill Hesse wrote:
> This looks like a race condition - if one test is entered in the queue, and
the
> process runs and ends before a second test is entered in the queue, then
> tryRunTest is called from the test.completedHandler() and this condition is
> true.

That is true. This is all temporary. I will rip it out as soon as stdout is
closed automatically when there are no other pending tasks. I'll add a TODO
comment and leave it as is until I can rip it all out. In practice the listing
happens so quickly that the problem you are describing does not occur.

Powered by Google App Engine
This is Rietveld 408576698