mirror of
https://github.com/servo/servo.git
synced 2025-07-22 06:43:40 +01: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
|
@ -31,8 +31,6 @@ def create_parser():
|
|||
help="Run under chaos mode in rr until a failure is captured")
|
||||
parser.add_argument('--pref', default=[], action="append", dest="prefs",
|
||||
help="Pass preferences to servo")
|
||||
parser.add_argument('--legacy-layout', '--layout-2013', '--with-layout-2013', default=False,
|
||||
action="store_true", help="Use expected results for the legacy layout engine")
|
||||
parser.add_argument('--log-servojson', action="append", type=mozlog.commandline.log_file,
|
||||
help="Servo's JSON logger of unexpected results")
|
||||
parser.add_argument('--always-succeed', default=False, action="store_true",
|
||||
|
@ -48,17 +46,5 @@ def create_parser():
|
|||
return parser
|
||||
|
||||
|
||||
def update_args_for_legacy_layout(kwargs: dict):
|
||||
def override_metadata_path(url_base, metadata_path):
|
||||
test_root = kwargs["test_paths"][url_base]
|
||||
kwargs["test_paths"][url_base] = wptrunner.wptcommandline.TestRoot(
|
||||
test_root.tests_path,
|
||||
os.path.join(WPT_PATH, *metadata_path)
|
||||
)
|
||||
override_metadata_path("/", ["meta-legacy-layout"])
|
||||
override_metadata_path("/_mozilla/", ["mozilla", "meta-legacy-layout"])
|
||||
override_metadata_path("/_webgl/", ["webgl", "meta-legacy-layout"])
|
||||
|
||||
|
||||
def run_tests():
|
||||
return test.run_tests()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue