summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2014-12-15 00:51:16 +0000
committerAndrew Bartlett <abartlet@samba.org>2015-03-06 04:41:48 +0100
commitb2af53db74dcf6f4cfc9aa486ad3b0d14d64b5fd (patch)
tree4faf719209ee225250af9fdccb5c9a7f67da59bd
parent2e2c05c1fef8183434e82debc87627acae5a5f97 (diff)
downloadsamba-b2af53db74dcf6f4cfc9aa486ad3b0d14d64b5fd.tar.gz
samba-b2af53db74dcf6f4cfc9aa486ad3b0d14d64b5fd.tar.xz
samba-b2af53db74dcf6f4cfc9aa486ad3b0d14d64b5fd.zip
Set failfast property for test reporters that need it.
Change-Id: Ibd632b9f569c23e60bcd13bcff805e367dd2e71c Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--selftest/subunithelper.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/selftest/subunithelper.py b/selftest/subunithelper.py
index 5308e99a24..fe8d568f9f 100644
--- a/selftest/subunithelper.py
+++ b/selftest/subunithelper.py
@@ -259,6 +259,10 @@ class ImmediateFail(Exception):
class FilterOps(unittest.TestResult):
+ def __init__(self, *args, **kwargs):
+ super(FilterOps, self).__init__(*args, **kwargs)
+ self.failfast = False
+
def control_msg(self, msg):
pass # We regenerate control messages, so ignore this