diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-03-23 23:11:04 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-03-23 23:11:04 +0200 |
commit | d289887b1badb079835d0c9734e38150d35e3d15 (patch) | |
tree | 8fdaef7edf6bb22c66ece3f11a28d4c97fb64a1d /backends.py | |
parent | 85132e894860b54c39f29c1491e353a12decc5f6 (diff) | |
download | meson-d289887b1badb079835d0c9734e38150d35e3d15.zip meson-d289887b1badb079835d0c9734e38150d35e3d15.tar.gz meson-d289887b1badb079835d0c9734e38150d35e3d15.tar.bz2 |
Add should_fail kwarg to test to indicate tests that should fail.
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 f00e76c..cb59453 100644 --- a/backends.py +++ b/backends.py @@ -87,7 +87,7 @@ def do_conf_file(src, dst, confdata): class TestSerialisation: def __init__(self, name, fname, is_cross, exe_wrapper, is_parallel, cmd_args, env, - valgrind_args): + should_fail, valgrind_args): self.name = name self.fname = fname self.is_cross = is_cross @@ -95,6 +95,7 @@ class TestSerialisation: self.is_parallel = is_parallel self.cmd_args = cmd_args self.env = env + self.should_fail = should_fail self.valgrind_args = valgrind_args # This class contains the basic functionality that is needed by all backends. @@ -315,7 +316,7 @@ class Backend(): else: exe_wrapper = None ts = TestSerialisation(t.get_name(), fname, is_cross, exe_wrapper, - t.is_parallel, t.cmd_args, t.env, t.valgrind_args) + t.is_parallel, t.cmd_args, t.env, t.should_fail, t.valgrind_args) arr.append(ts) pickle.dump(arr, datafile) |