mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Fix WPT import by overriding product name to servo (#30457)
Upstream wpt script has bug where 'product' defaults to 'firefox' and this causes import of uninstalled python modules specific to firefox runners. Fixes #30452 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
parent
ce183d8581
commit
330f59a711
2 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,7 @@ def create_parser():
|
|||
def update(check_clean=True, rebuild=False, **kwargs):
|
||||
logger = wptlogging.setup(kwargs, {"mach": sys.stdout})
|
||||
kwargs = {"config": os.path.join(WPT_PATH, "config.ini"),
|
||||
"product": "servo",
|
||||
"manifest_path": os.path.join(WPT_PATH, "meta"),
|
||||
"tests_root": None,
|
||||
"metadata_root": None}
|
||||
|
|
|
@ -103,8 +103,8 @@ def update_tests(**kwargs) -> int:
|
|||
if key not in args or args[key] is None:
|
||||
args[key] = value
|
||||
|
||||
set_if_none(kwargs, "product", "servo")
|
||||
set_if_none(kwargs, "config", os.path.join(WPT_PATH, "config.ini"))
|
||||
kwargs["product"] = "servo"
|
||||
kwargs["store_state"] = False
|
||||
|
||||
wptcommandline.set_from_config(kwargs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue