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

Issue 8514003: tools/test.dart: Read test expectations from the status file, and pass them to the test runner. (Closed)

Created:
9 years, 1 month ago by Bill Hesse
Modified:
9 years, 1 month ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

tools/test.dart: Read test expectations from the status file, and pass them to the test runner. BUG= TEST=tools/test.dart Committed: https://code.google.com/p/dart/source/detail?r=1407

Patch Set 1 #

Patch Set 2 : Import library with PASS, FAIL, CRASH to TestRunnerTest #

Total comments: 13

Patch Set 3 : Address comments. #

Patch Set 4 : Readdress comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -35 lines) Patch
M tests/corelib/test_config.dart View 1 2 3 2 chunks +37 lines, -13 lines 0 comments Download
M tests/standalone/src/TestRunnerTest.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/standalone/test_config.dart View 1 2 3 2 chunks +25 lines, -6 lines 0 comments Download
M tools/testing/dart/status_file_parser.dart View 1 2 3 5 chunks +56 lines, -7 lines 0 comments Download
M tools/testing/dart/test_runner.dart View 1 2 3 2 chunks +1 line, -9 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Bill Hesse
9 years, 1 month ago (2011-11-10 16:19:14 UTC) #1
Mads Ager (google)
LGTM http://codereview.chromium.org/8514003/diff/2001/tests/corelib/test_config.dart File tests/corelib/test_config.dart (right): http://codereview.chromium.org/8514003/diff/2001/tests/corelib/test_config.dart#newcode23 tests/corelib/test_config.dart:23: configuration = {"mode": "debug", In the next changelist ...
9 years, 1 month ago (2011-11-10 16:31:57 UTC) #2
Bill Hesse
http://codereview.chromium.org/8514003/diff/2001/tests/standalone/src/TestRunnerTest.dart File tests/standalone/src/TestRunnerTest.dart (right): http://codereview.chromium.org/8514003/diff/2001/tests/standalone/src/TestRunnerTest.dart#newcode8 tests/standalone/src/TestRunnerTest.dart:8: #import("../../../tools/testing/dart/status_file_parser.dart"); On 2011/11/10 16:31:57, Mads Ager wrote: > Do ...
9 years, 1 month ago (2011-11-10 16:44:45 UTC) #3
Bill Hesse
9 years, 1 month ago (2011-11-14 10:08:04 UTC) #4
Nothing new here - just committing my draft comments on a closed issue.

http://codereview.chromium.org/8514003/diff/2001/tools/testing/dart/status_fi...
File tools/testing/dart/status_file_parser.dart (right):

http://codereview.chromium.org/8514003/diff/2001/tools/testing/dart/status_fi...
tools/testing/dart/status_file_parser.dart:128: // Debugging code.
Removed the whole thing.

On 2011/11/10 16:44:45, Bill Hesse wrote:
> On 2011/11/10 16:31:57, Mads Ager wrote:
> > Remove this before committing?
> 
> I'll just remove the comment.  The output is quite useful.

http://codereview.chromium.org/8514003/diff/2001/tools/testing/dart/test_runn...
File tools/testing/dart/test_runner.dart (right):

http://codereview.chromium.org/8514003/diff/2001/tools/testing/dart/test_runn...
tools/testing/dart/test_runner.dart:79: bool get hasCrashed() => !timedOut &&
exitCode != 255 && exitCode != 0;
OK, this has been fixed, so failures return -1, so will remove.

On 2011/11/10 16:44:45, Bill Hesse wrote:
> On 2011/11/10 16:31:57, Mads Ager wrote:
> > This looks accidental?
> 
> No, the processes are returning 255 for uncaught exceptions.
> So 255 is a fail, not a crash.

Powered by Google App Engine
This is Rietveld 408576698