mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Rename metadata directories
This renames: - `tests/wpt/metadata` → `tests/wpt/meta-legacy-layout` - `tests/wpt/metadata-layout-2020` → `tests/wpt/meta` - `tests/wpt/mozilla/meta` → `tests/wpt/mozilla/meta-legacy-layout` - `tests/wpt/mozilla/meta-layout-2020` → `tests/wpt/mozilla/meta`
This commit is contained in:
parent
cfd24f00bc
commit
f4578afdfe
23708 changed files with 772645 additions and 694 deletions
|
@ -50,14 +50,15 @@ def create_parser():
|
|||
return parser
|
||||
|
||||
|
||||
def update_args_for_layout_2020(kwargs: dict):
|
||||
def update_args_for_legacy_layout(kwargs: dict):
|
||||
if kwargs.pop("layout_2020"):
|
||||
kwargs["test_paths"]["/"]["metadata_path"] = os.path.join(
|
||||
WPT_PATH, "metadata-layout-2020"
|
||||
)
|
||||
kwargs["test_paths"]["/_mozilla/"]["metadata_path"] = os.path.join(
|
||||
WPT_PATH, "mozilla", "meta-layout-2020"
|
||||
)
|
||||
kwargs["include_manifest"] = os.path.join(
|
||||
WPT_PATH, "include-layout-2020.ini"
|
||||
)
|
||||
return
|
||||
kwargs["test_paths"]["/"]["metadata_path"] = os.path.join(
|
||||
WPT_PATH, "meta-legacy-layout"
|
||||
)
|
||||
kwargs["test_paths"]["/_mozilla/"]["metadata_path"] = os.path.join(
|
||||
WPT_PATH, "mozilla", "meta-legacy-layout"
|
||||
)
|
||||
kwargs["include_manifest"] = os.path.join(
|
||||
WPT_PATH, "include-legacy-layout.ini"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue