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

Issue 9166013: Add check for repeated options on test.dart command line. Revert debugging commit r3110. (Closed)

Created:
8 years, 11 months ago by Bill Hesse
Modified:
8 years, 11 months ago
Reviewers:
Emily Fortuna
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add check for repeated options on test.dart command line. Revert debugging commit r3110. Also fix bug where unknown options would crash test.dart. BUG= TEST=tools/test.dart --flag foo --flag bar --mispellede Committed: https://code.google.com/p/dart/source/detail?r=3195

Patch Set 1 #

Total comments: 1

Patch Set 2 : Make error message more descriptive. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -21 lines) Patch
M tools/testing/dart/test_options.dart View 1 7 chunks +27 lines, -16 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 1 chunk +2 lines, -5 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Bill Hesse
I'm reverting the disabling of multiple vmOptions I did last night, and printing a warning ...
8 years, 11 months ago (2012-01-10 20:16:57 UTC) #1
Emily Fortuna
8 years, 11 months ago (2012-01-10 23:24:00 UTC) #2
lgtm!

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

http://codereview.chromium.org/9166013/diff/1/tools/testing/dart/test_options...
tools/testing/dart/test_options.dart:239: print('Multiple "--${spec.name}" flags
on command line');
Slightly more informative error message:
print ('Error: test.dart does not accept multiple[...]')  ?

Powered by Google App Engine
This is Rietveld 408576698