aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/backends.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-03-03 14:02:16 +0200
committerGitHub <noreply@github.com>2019-03-03 14:02:16 +0200
commit1997ac2478c600336e89b2deb5e75ae02bef0fd3 (patch)
treee13d42ae10a47a0358cfc3765d9717c488872536 /mesonbuild/backend/backends.py
parent5a22bb79016c5e7fe386c9cf035c8c3517e883f8 (diff)
parent91f847d308b57adec89245308b60ae063026b456 (diff)
downloadmeson-1997ac2478c600336e89b2deb5e75ae02bef0fd3.zip
meson-1997ac2478c600336e89b2deb5e75ae02bef0fd3.tar.gz
meson-1997ac2478c600336e89b2deb5e75ae02bef0fd3.tar.bz2
Merge pull request #4958 from bonzini/tap
Add initial TAP test support
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r--mesonbuild/backend/backends.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index 5062767..4d35d22 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -84,7 +84,7 @@ class ExecutableSerialisation:
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):
+ cmd_args, env, should_fail, timeout, workdir, extra_paths, protocol):
self.name = name
self.project_name = project
self.suite = suite
@@ -100,6 +100,7 @@ class TestSerialisation:
self.timeout = timeout
self.workdir = workdir
self.extra_paths = extra_paths
+ self.protocol = protocol
class OptionProxy:
def __init__(self, name, value):
@@ -756,7 +757,7 @@ class Backend:
raise MesonException('Bad object in test command.')
ts = TestSerialisation(t.get_name(), t.project_name, t.suite, cmd, is_cross,
exe_wrapper, t.is_parallel, cmd_args, t.env,
- t.should_fail, t.timeout, t.workdir, extra_paths)
+ t.should_fail, t.timeout, t.workdir, extra_paths, t.protocol)
arr.append(ts)
return arr