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

Issue 2902023002: Refactor test option parsing code. (Closed)

Created:
3 years, 7 months ago by Bob Nystrom
Modified:
3 years, 7 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Refactor test option parsing code. This doesn’t touch the resulting configuration map, which is what this is leading up to, but it cleans up the specification and parsing of the options and removes a lot of redundancy. Behavior should be the same as it was before, except that all options now allow both their underscore-separated and hyphen-separated names. So this is now valid: test.py --hot_reload --append-logs Where before, you use to have to do --hot-reload (OK) and --append_logs (bad, since almost all other options expect hyphens). R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/9c2dff8ebc9f2c53d23ae46f71cf6e3b95a0e823

Patch Set 1 #

Total comments: 4

Patch Set 2 : Remove cps_ir stuff. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+932 lines, -1048 lines) Patch
M runtime/tests/vm/vm.status View 1 1 chunk +0 lines, -3 lines 0 comments Download
M samples/samples.status View 1 1 chunk +0 lines, -3 lines 0 comments Download
M tools/testing/dart/co19_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tools/testing/dart/compiler_configuration.dart View 1 12 chunks +14 lines, -15 lines 0 comments Download
M tools/testing/dart/main.dart View 2 chunks +3 lines, -3 lines 0 comments Download
A tools/testing/dart/options.dart View 1 1 chunk +908 lines, -0 lines 0 comments Download
M tools/testing/dart/package_testing_support.dart View 1 chunk +4 lines, -6 lines 0 comments Download
D tools/testing/dart/test_options.dart View 1 chunk +0 lines, -1012 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 1 2 chunks +1 line, -4 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Bob Nystrom
3 years, 7 months ago (2017-05-23 21:14:38 UTC) #2
Bob Nystrom
Bouncing to Siggy since AAR folks are on holiday. I know you're busy, but if ...
3 years, 7 months ago (2017-05-25 17:53:09 UTC) #4
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/2902023002/diff/1/tools/testing/dart/options.dart File tools/testing/dart/options.dart (right): https://codereview.chromium.org/2902023002/diff/1/tools/testing/dart/options.dart#newcode154 tools/testing/dart/options.dart:154: self_check: Pass each test or its compiled output ...
3 years, 7 months ago (2017-05-25 21:57:19 UTC) #5
Bob Nystrom
I had to tweak some new "useDFE" code that appeared to in order to get ...
3 years, 7 months ago (2017-05-26 18:03:22 UTC) #6
Siggi Cherem (dart-lang)
lgtm
3 years, 7 months ago (2017-05-26 18:11:27 UTC) #7
Bob Nystrom
3 years, 7 months ago (2017-05-26 20:36:47 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
9c2dff8ebc9f2c53d23ae46f71cf6e3b95a0e823 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698