diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-12-09 18:00:06 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-12-09 18:00:06 +0200 |
commit | 70695bead40f97825357e620394918d1a248bf1a (patch) | |
tree | d439f53a5d954307f438aac7c29f9ca051503583 /backends.py | |
parent | 0585a959d3bc7e71c896d53ed4f9c74ba49f4825 (diff) | |
download | meson-70695bead40f97825357e620394918d1a248bf1a.zip meson-70695bead40f97825357e620394918d1a248bf1a.tar.gz meson-70695bead40f97825357e620394918d1a248bf1a.tar.bz2 |
Added possibility to have multiple test suites so you can run only a subset of tests. Closes #325.
Diffstat (limited to 'backends.py')
-rw-r--r-- | backends.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/backends.py b/backends.py index 7f7c338..e0a9ec4 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, + 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 @@ -302,7 +303,7 @@ 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, t.workdir, extra_paths) arr.append(ts) |