selftest/subunithelper: also output as much of unterminated DETAILS
[samba.git] / selftest / subunithelper.py
index 7224ddbaed53ef579bc0841ce542961125b5d85b..26158cad33938003347684fa9076cd9d5cb7af08 100644 (file)
@@ -98,7 +98,8 @@ def parse_results(msg_ops, statistics, fh):
 
                 if not terminated:
                     statistics['TESTS_ERROR'] += 1
-                    msg_ops.addError(subunit.RemotedTestCase(testname), subunit.RemoteError(u"reason (%s) interrupted" % result))
+                    msg_ops.addError(subunit.RemotedTestCase(testname),
+                                     subunit.RemoteError(u"result (%s) reason (%s) interrupted" % (result, reason)))
                     return 1
             else:
                 reason = None