diff options
Diffstat (limited to 'backends.py')
-rw-r--r-- | backends.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/backends.py b/backends.py index 7543894..9abf02f 100644 --- a/backends.py +++ b/backends.py @@ -20,9 +20,10 @@ import json from coredata import MesonException class TestSerialisation: - def __init__(self, name, fname, is_cross, exe_wrapper, is_parallel, cmd_args, env, - should_fail, valgrind_args, timeout, extra_paths): + def __init__(self, name, suite, fname, is_cross, exe_wrapper, is_parallel, cmd_args, env, + should_fail, valgrind_args, timeout, workdir, extra_paths): self.name = name + self.suite = suite self.fname = fname self.is_cross = is_cross self.exe_runner = exe_wrapper @@ -32,6 +33,7 @@ class TestSerialisation: self.should_fail = should_fail self.valgrind_args = valgrind_args self.timeout = timeout + self.workdir = workdir self.extra_paths = extra_paths # This class contains the basic functionality that is needed by all backends. @@ -308,9 +310,9 @@ class Backend(): if isinstance(a, mesonlib.File): a = os.path.join(self.environment.get_build_dir(), a.rel_to_builddir(self.build_to_src)) cmd_args.append(a) - ts = TestSerialisation(t.get_name(), fname, is_cross, exe_wrapper, + ts = TestSerialisation(t.get_name(), t.suite, fname, is_cross, exe_wrapper, t.is_parallel, cmd_args, t.env, t.should_fail, t.valgrind_args, - t.timeout, extra_paths) + t.timeout, t.workdir, extra_paths) arr.append(ts) pickle.dump(arr, datafile) |