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

Issue 8772007: Allow single-dash options to be specified without a space before value. (Closed)

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

Description

Allow single-dash options to be specified without a space before value. ./tools/test.dart -mdebug,release Make the patterns given to the test script more restrictive. A pattern has to specify the test suite as the first component. The rest is used as a pattern on all tests within that suite: ./tools/test.dart -mrelease leg co19/leg will run the leg tests and the co19 tests that contains the substring 'leg' somewhere in the full path name of the test. R=whesse@google.com BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=2014

Patch Set 1 #

Patch Set 2 : Address comments #

Patch Set 3 : Update a couple of comment.s #

Total comments: 10

Patch Set 4 : Address review comments. #

Patch Set 5 : Add warning on overriding selectors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -58 lines) Patch
M frog/tests/frog/test_config.dart View 1 chunk +1 line, -0 lines 0 comments Download
M frog/tests/leg/test_config.dart View 1 chunk +1 line, -0 lines 0 comments Download
M frog/tests/leg_only/test_config.dart View 1 chunk +1 line, -0 lines 0 comments Download
M samples/tests/samples/test_config.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tests/co19/test_config.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tests/corelib/test_config.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tests/isolate/test_config.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tests/language/test_config.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tests/standalone/test_config.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tests/stub-generator/test_config.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tools/test.dart View 1 chunk +26 lines, -11 lines 0 comments Download
M tools/test-runtime.dart View 1 chunk +20 lines, -7 lines 0 comments Download
M tools/testing/dart/test_options.dart View 1 2 3 4 3 chunks +43 lines, -25 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 1 2 4 chunks +10 lines, -15 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Mads Ager (google)
9 years ago (2011-12-01 14:38:11 UTC) #1
Bill Hesse
I think we need to allow multiple patterns per suite: test.dart standalone/Directory standalone/File. http://codereview.chromium.org/8772007/diff/4001/tools/testing/dart/test_options.dart File ...
9 years ago (2011-12-02 10:21:05 UTC) #2
Mads Ager (google)
I would like to see a need for having multiple patters for the same suite. ...
9 years ago (2011-12-02 10:36:53 UTC) #3
Bill Hesse
LGTM. Could we print messages in some of the unimplemented cases, like two patterns on ...
9 years ago (2011-12-02 11:16:50 UTC) #4
Mads Ager (google)
9 years ago (2011-12-02 11:49:23 UTC) #5
Added warning print if multiple selectors are supplied for the same suite. It
should be trivial to add multiple patterns if we need it. Right now I want to
get the scripts completely working first. Thanks for your comments Bill.

Powered by Google App Engine
This is Rietveld 408576698