mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Switch default layout option to --layout-2020
in some mach commands (#30048)
Currently, `./mach test-wpt` family of commands (`test-wpt`, `test-wpt-android`, and `test-wpt-failure`) and `./mach update-wpt` default to using the legacy-layout option `--layout-2013` unless `--layout-2020` is specified. Given that we are now using layout-2020 by default, this change updates these commands to default to using the `--layout-2020` option instead of `--layout-2013`.
This commit is contained in:
parent
d9a38b00ff
commit
ad0fa77456
3 changed files with 15 additions and 16 deletions
|
@ -126,8 +126,8 @@ def run_update(**kwargs) -> bool:
|
|||
|
||||
def create_parser(**_kwargs):
|
||||
parser = wptcommandline.create_parser_update()
|
||||
parser.add_argument("--layout-2020", "--with-layout-2020", default=False, action="store_true",
|
||||
parser.add_argument("--layout-2020", "--with-layout-2020", default=True, action="store_true",
|
||||
help="Use expected results for the 2020 layout engine")
|
||||
parser.add_argument("--layout-2013", "--with-layout-2013", default=True, action="store_true",
|
||||
parser.add_argument("--layout-2013", "--with-layout-2013", default=False, action="store_true",
|
||||
help="Use expected results for the 2013 layout engine")
|
||||
return parser
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue