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
|
@ -103,7 +103,7 @@ def run_tests(**kwargs):
|
|||
kwargs.setdefault("binary_args", [])
|
||||
if prefs:
|
||||
kwargs["binary_args"] += ["--pref=" + pref for pref in prefs]
|
||||
if not kwargs.get("layout_2020", False):
|
||||
if kwargs.get("layout_2013"):
|
||||
kwargs["binary_args"] += ["--legacy-layout"]
|
||||
|
||||
if not kwargs.get("no_default_test_types"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue