diff options
author | Oriol Brufau <obrufau@igalia.com> | 2025-03-13 08:26:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-13 07:26:57 +0000 |
commit | 7594dc69916f3c4d8ce771e1ef990b6d223eb158 (patch) | |
tree | e5e014f4b1168d13518b4c373c6aa8f5f9a37824 /python/servo/try_parser.py | |
parent | f93006af95dd75a07de2571e6a2edabcc64a46ac (diff) | |
download | servo-7594dc69916f3c4d8ce771e1ef990b6d223eb158.tar.gz servo-7594dc69916f3c4d8ce771e1ef990b6d223eb158.zip |
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>
Diffstat (limited to 'python/servo/try_parser.py')
-rw-r--r-- | python/servo/try_parser.py | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/python/servo/try_parser.py b/python/servo/try_parser.py index c6a7454994c..04691a83d0c 100644 --- a/python/servo/try_parser.py +++ b/python/servo/try_parser.py @@ -23,20 +23,17 @@ from enum import Enum, Flag, auto class Layout(Flag): none = 0 - layout2013 = auto() layout2020 = auto() @staticmethod def all(): - return Layout.layout2013 | Layout.layout2020 + return Layout.layout2020 def to_string(self): if Layout.all() in self: return "all" elif Layout.layout2020 in self: return "2020" - elif Layout.layout2013 in self: - return "2013" else: return "none" @@ -141,8 +138,6 @@ def handle_modifier(config: JobConfig, s: str) -> Optional[JobConfig]: config.profile = "production" if "bencher" in s: config.bencher = True - if "wpt-2013" in s: - config.wpt_layout = Layout.layout2013 elif "wpt-2020" in s: config.wpt_layout = Layout.layout2020 elif "wpt" in s: @@ -239,7 +234,7 @@ class TestParser(unittest.TestCase): { "name": "Linux (Unit Tests, WPT, Bencher)", "workflow": "linux", - "wpt_layout": "2020", + "wpt_layout": "all", "profile": "release", "unit_tests": True, 'build_libservo': False, @@ -298,7 +293,7 @@ class TestParser(unittest.TestCase): ]}) def test_job_merging(self): - self.assertDictEqual(json.loads(Config("linux-wpt-2020 linux-wpt-2013").to_json()), + self.assertDictEqual(json.loads(Config("linux-wpt-2020").to_json()), {'fail_fast': False, 'matrix': [{ 'bencher': False, |