diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-05-14 16:37:32 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-05-14 16:43:29 -0700 |
commit | e24c11336d5ededdeba5c520edaba55d35fb7468 (patch) | |
tree | 9160eddeb48efe3c6629930145e96c59e16e5c19 | |
parent | 502a684872d6ffd80f31c61ce67e5d856b472da2 (diff) | |
download | meson-e24c11336d5ededdeba5c520edaba55d35fb7468.zip meson-e24c11336d5ededdeba5c520edaba55d35fb7468.tar.gz meson-e24c11336d5ededdeba5c520edaba55d35fb7468.tar.bz2 |
backends: Annotate TestSerialisiation
Also, we should at some point decide whether we're going to use American
spelling (serialize/serialization) or British (serialise/serialisation)
because we have both, and both is always worse than one or the other.
-rw-r--r-- | mesonbuild/backend/backends.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py index 0565de3..5429a5c 100644 --- a/mesonbuild/backend/backends.py +++ b/mesonbuild/backend/backends.py @@ -27,6 +27,7 @@ from ..compilers import CompilerArgs, VisualStudioLikeCompiler from collections import OrderedDict import shlex from functools import lru_cache +import typing class CleanTrees: @@ -83,8 +84,12 @@ class ExecutableSerialisation: self.capture = capture class TestSerialisation: - def __init__(self, name, project, suite, fname, is_cross_built, exe_wrapper, is_parallel, - cmd_args, env, should_fail, timeout, workdir, extra_paths, protocol): + def __init__(self, name: str, project: str, suite: str, fname: typing.List[str], + is_cross_built: bool, exe_wrapper: typing.Optional[build.Executable], + is_parallel: bool, cmd_args: typing.List[str], + env: build.EnvironmentVariables, should_fail: bool, + timeout: typing.Optional[int], workdir: typing.Optional[str], + extra_paths: typing.List[str], protocol: str): self.name = name self.project_name = project self.suite = suite |