[PATCH 39/55] Set failfast property for test reporters that need it.

Jelmer Vernooij jelmer at samba.org
Fri Feb 6 12:04:11 MST 2015


Change-Id: Ibd632b9f569c23e60bcd13bcff805e367dd2e71c
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
---
 selftest/subunithelper.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/selftest/subunithelper.py b/selftest/subunithelper.py
index 5308e99..fe8d568 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
 
-- 
2.1.4



More information about the samba-technical mailing list