DescriptionRefactor 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. #
Messages
Total messages: 9 (3 generated)
|