diff options
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r-- | mesonbuild/backend/backends.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py index b12932a..568aeee 100644 --- a/mesonbuild/backend/backends.py +++ b/mesonbuild/backend/backends.py @@ -121,8 +121,7 @@ class TestSerialisation: env: build.EnvironmentVariables, should_fail: bool, timeout: T.Optional[int], workdir: T.Optional[str], extra_paths: T.List[str], protocol: TestProtocol, priority: int, - cmd_is_built: bool, - depends: T.List[str]): + cmd_is_built: bool, depends: T.List[str], version: str): self.name = name self.project_name = project self.suite = suite @@ -143,6 +142,7 @@ class TestSerialisation: self.needs_exe_wrapper = needs_exe_wrapper self.cmd_is_built = cmd_is_built self.depends = depends + self.version = version def get_backend_from_name(backend: str, build: T.Optional[build.Build] = None, interpreter: T.Optional['Interpreter'] = None) -> T.Optional['Backend']: @@ -864,7 +864,8 @@ class Backend: t.should_fail, t.timeout, t.workdir, extra_paths, t.protocol, t.priority, isinstance(exe, build.Executable), - [x.get_id() for x in depends]) + [x.get_id() for x in depends], + self.environment.coredata.version) arr.append(ts) return arr |