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

Issue 9475038: test.dart: add support for compiling multiple scripts for a single test. (Closed)

Created:
8 years, 10 months ago by Siggi Cherem (dart-lang)
Modified:
8 years, 9 months ago
Reviewers:
Bill Hesse
CC:
reviews_dartlang.org, eub
Visibility:
Public.

Description

test.dart: add support for compiling multiple scripts for a single test. Committed: https://code.google.com/p/dart/source/detail?r=4708

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -137 lines) Patch
M tools/testing/dart/test_progress.dart View 2 chunks +5 lines, -7 lines 0 comments Download
M tools/testing/dart/test_runner.dart View 1 13 chunks +96 lines, -82 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 1 8 chunks +80 lines, -48 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Siggi Cherem (dart-lang)
I basically followed the first part of your suggestion: I added support for compiling a ...
8 years, 10 months ago (2012-02-28 02:45:21 UTC) #1
Siggi Cherem (dart-lang)
+eub
8 years, 10 months ago (2012-02-28 02:45:37 UTC) #2
Bill Hesse
This is really nice. LGTM. http://codereview.chromium.org/9475038/diff/1/tools/testing/dart/test_runner.dart File tools/testing/dart/test_runner.dart (right): http://codereview.chromium.org/9475038/diff/1/tools/testing/dart/test_runner.dart#newcode318 tools/testing/dart/test_runner.dart:318: stderr.add('test.dart: Compilation step finished\n'); ...
8 years, 9 months ago (2012-02-28 16:41:56 UTC) #3
Siggi Cherem (dart-lang)
8 years, 9 months ago (2012-02-28 17:42:37 UTC) #4
Thanks Bill!

Submitting shortly.

http://codereview.chromium.org/9475038/diff/1/tools/testing/dart/test_runner....
File tools/testing/dart/test_runner.dart (right):

http://codereview.chromium.org/9475038/diff/1/tools/testing/dart/test_runner....
tools/testing/dart/test_runner.dart:318: stderr.add('test.dart: Compilation step
finished\n');
On 2012/02/28 16:41:56, Bill Hesse wrote:
> Could we add currentStep to the messages in stderr and stdout?

Done

http://codereview.chromium.org/9475038/diff/1/tools/testing/dart/test_suite.dart
File tools/testing/dart/test_suite.dart (right):

http://codereview.chromium.org/9475038/diff/1/tools/testing/dart/test_suite.d...
tools/testing/dart/test_suite.dart:525: Expect.isTrue(end > 0);
On 2012/02/28 16:41:56, Bill Hesse wrote:
> Could we print a warning, and just return without adding a testCase, in this
> case, rather than terminating the test script?

Good point. Fixed.

Powered by Google App Engine
This is Rietveld 408576698