diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/servo/try_parser.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/python/servo/try_parser.py b/python/servo/try_parser.py index 79f2989f10d..9a6b31693b0 100644 --- a/python/servo/try_parser.py +++ b/python/servo/try_parser.py @@ -40,6 +40,7 @@ class JobConfig(object): build_libservo: bool = False bencher: bool = False wpt_args: str = "" + number_of_wpt_chunks: int = 20 # These are the fields that must match in between two JobConfigs for them to be able to be # merged. If you modify any of the fields above, make sure to update this line as well. merge_compatibility_fields: ClassVar[List[str]] = ['workflow', 'profile', 'wpt_args'] @@ -55,6 +56,7 @@ class JobConfig(object): self.unit_tests |= other.unit_tests self.build_libservo |= other.build_libservo self.bencher |= other.bencher + self.number_of_wpt_chunks = max(self.number_of_wpt_chunks, other.number_of_wpt_chunks) self.update_name() return True @@ -201,6 +203,7 @@ class TestParser(unittest.TestCase): 'matrix': [{ 'bencher': False, 'name': 'Linux (Unit Tests)', + 'number_of_wpt_chunks': 20, 'profile': 'release', 'unit_tests': True, 'build_libservo': False, @@ -215,6 +218,7 @@ class TestParser(unittest.TestCase): {"fail_fast": False, "matrix": [ { "name": "Linux (Unit Tests, WPT, Bencher)", + 'number_of_wpt_chunks': 20, "workflow": "linux", "wpt": True, "profile": "release", @@ -225,6 +229,7 @@ class TestParser(unittest.TestCase): }, { "name": "MacOS (Unit Tests)", + 'number_of_wpt_chunks': 20, "workflow": "macos", "wpt": False, "profile": "release", @@ -235,6 +240,7 @@ class TestParser(unittest.TestCase): }, { "name": "Windows (Unit Tests)", + 'number_of_wpt_chunks': 20, "workflow": "windows", "wpt": False, "profile": "release", @@ -245,6 +251,7 @@ class TestParser(unittest.TestCase): }, { "name": "Android", + 'number_of_wpt_chunks': 20, "workflow": "android", "wpt": False, "profile": "release", @@ -255,6 +262,7 @@ class TestParser(unittest.TestCase): }, { "name": "OpenHarmony", + 'number_of_wpt_chunks': 20, "workflow": "ohos", "wpt": False, "profile": "release", @@ -265,6 +273,7 @@ class TestParser(unittest.TestCase): }, { "name": "Lint", + 'number_of_wpt_chunks': 20, "workflow": "lint", "wpt": False, "profile": "release", @@ -280,6 +289,7 @@ class TestParser(unittest.TestCase): 'matrix': [{ 'bencher': False, 'name': 'Linux (WPT)', + 'number_of_wpt_chunks': 20, 'profile': 'release', 'unit_tests': False, 'build_libservo': False, |