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

Issue 13079005: better warning in tools/testing/dart/test_options (Closed)

Created:
7 years, 9 months ago by kevmoo-old
Modified:
7 years, 9 months ago
Reviewers:
ricow1, kustermann; sgjesse, kustermann
CC:
reviews_dartlang.org
Visibility:
Public.

Description

better warning in tools/testing/dart/test_options Less helpful: Warning: combination of none and firefox is invalid. More helpful: Warning: combination of compiler 'none' and runtime 'firefox' is invalid. Committed: https://code.google.com/p/dart/source/detail?r=20512

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M tools/testing/dart/test_options.dart View 1 chunk +3 lines, -2 lines 3 comments Download

Messages

Total messages: 5 (0 generated)
kevmoo-old
PTAL
7 years, 9 months ago (2013-03-26 01:11:16 UTC) #1
kustermann
lgtm https://codereview.chromium.org/13079005/diff/1/tools/testing/dart/test_options.dart File tools/testing/dart/test_options.dart (right): https://codereview.chromium.org/13079005/diff/1/tools/testing/dart/test_options.dart#newcode457 tools/testing/dart/test_options.dart:457: "Skipping this combination."); Indentation.
7 years, 9 months ago (2013-03-26 08:27:26 UTC) #2
kevmoo-old
https://codereview.chromium.org/13079005/diff/1/tools/testing/dart/test_options.dart File tools/testing/dart/test_options.dart (right): https://codereview.chromium.org/13079005/diff/1/tools/testing/dart/test_options.dart#newcode457 tools/testing/dart/test_options.dart:457: "Skipping this combination."); On 2013/03/26 08:27:26, kustermann wrote: > ...
7 years, 9 months ago (2013-03-26 13:16:38 UTC) #3
kevmoo-old
Committed patchset #1 manually as r20512 (presubmit successful).
7 years, 9 months ago (2013-03-26 13:20:46 UTC) #4
kustermann
7 years, 9 months ago (2013-03-26 13:43:07 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/13079005/diff/1/tools/testing/dart/test_optio...
File tools/testing/dart/test_options.dart (right):

https://codereview.chromium.org/13079005/diff/1/tools/testing/dart/test_optio...
tools/testing/dart/test_options.dart:457: "Skipping this combination.");
On 2013/03/26 13:16:38, kevmoo wrote:
> On 2013/03/26 08:27:26, kustermann wrote:
> > Indentation.
> 
> Explain...

AFAIK we indent the two following lines to the same level as the "Warning"
(since it's the same argument).
       print("Warning: combination of compiler '${config['compiler']}' and "
             "runtime '${config['runtime']}' is invalid. "
             "Skipping this combination.");
instead of:
       print("Warning: combination of compiler '${config['compiler']}' and "
           "runtime '${config['runtime']}' is invalid. "
           "Skipping this combination.");

See for example lines 467/468. (there are a couple of places where it's wrong).

Powered by Google App Engine
This is Rietveld 408576698