mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Remove legacy layout (layout 2013) (#35943)
We were already not compiling it and not running tests on it by default. So it's simpler to just completely remove it. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
f93006af95
commit
7594dc6991
17224 changed files with 23 additions and 1584835 deletions
|
@ -12,7 +12,7 @@ from wptrunner.update import setup_logging, WPTUpdate # noqa: F401
|
|||
from wptrunner.update.base import exit_unclean # noqa: F401
|
||||
from wptrunner import wptcommandline # noqa: F401
|
||||
|
||||
from . import WPT_PATH, update_args_for_legacy_layout
|
||||
from . import WPT_PATH
|
||||
from . import manifestupdate
|
||||
|
||||
TEST_ROOT = os.path.join(WPT_PATH, 'tests')
|
||||
|
@ -109,9 +109,6 @@ def update_tests(**kwargs) -> int:
|
|||
if hasattr(wptcommandline, 'check_paths'):
|
||||
wptcommandline.check_paths(kwargs["test_paths"])
|
||||
|
||||
if kwargs.pop("legacy_layout"):
|
||||
update_args_for_legacy_layout(kwargs)
|
||||
|
||||
if kwargs.get('sync', False):
|
||||
return do_sync(**kwargs)
|
||||
|
||||
|
@ -125,8 +122,4 @@ def run_update(**kwargs) -> bool:
|
|||
|
||||
|
||||
def create_parser(**_kwargs):
|
||||
parser = wptcommandline.create_parser_update()
|
||||
parser.add_argument("--legacy-layout", "--layout-2013", "--with-layout-2013",
|
||||
default=False, action="store_true",
|
||||
help="Use expected results for the legacy layout engine")
|
||||
return parser
|
||||
return wptcommandline.create_parser_update()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue