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.
pull/5395/head
Dylan Baker 6 years ago
parent 502a684872
commit e24c11336d
  1. 9
      mesonbuild/backend/backends.py

@ -27,6 +27,7 @@ from ..compilers import CompilerArgs, VisualStudioLikeCompiler
from collections import OrderedDict from collections import OrderedDict
import shlex import shlex
from functools import lru_cache from functools import lru_cache
import typing
class CleanTrees: class CleanTrees:
@ -83,8 +84,12 @@ class ExecutableSerialisation:
self.capture = capture self.capture = capture
class TestSerialisation: class TestSerialisation:
def __init__(self, name, project, suite, fname, is_cross_built, exe_wrapper, is_parallel, def __init__(self, name: str, project: str, suite: str, fname: typing.List[str],
cmd_args, env, should_fail, timeout, workdir, extra_paths, protocol): 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.name = name
self.project_name = project self.project_name = project
self.suite = suite self.suite = suite

Loading…
Cancel
Save