mirror of
https://github.com/servo/servo.git
synced 2025-07-25 00:00:20 +01:00
temp change to allow wpt sync build to pass
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
parent
1fa206945b
commit
bad72c7f87
2 changed files with 23 additions and 5 deletions
|
@ -109,7 +109,13 @@ def update_tests(**kwargs) -> int:
|
|||
|
||||
wptcommandline.set_from_config(kwargs)
|
||||
if hasattr(wptcommandline, 'check_paths'):
|
||||
wptcommandline.check_paths(kwargs["test_paths"])
|
||||
# FIXME(mukilan): temporary hack since check_paths
|
||||
# is used before and after we sync the wptrunner code
|
||||
# with upstream and upstream has changed the argument
|
||||
try:
|
||||
wptcommandline.check_paths(kwargs)
|
||||
except AttributeError:
|
||||
wptcommandline.check_paths(kwargs["test_paths"])
|
||||
|
||||
if kwargs.pop("legacy_layout"):
|
||||
update_args_for_legacy_layout(kwargs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue