From: Stefan Metzmacher Date: Fri, 6 Nov 2020 11:35:04 +0000 (+0100) Subject: selftest/subunithelper: also output as much of unterminated DETAILS X-Git-Tag: samba-4.14.0rc1~634 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcd5a64ca742aadf922362a4254ed20c2bc5c64d;p=thirdparty%2Fsamba.git selftest/subunithelper: also output as much of unterminated DETAILS Signed-off-by: Stefan Metzmacher Reviewed-by: Douglas Bagnall Autobuild-User(master): Douglas Bagnall Autobuild-Date(master): Wed Nov 11 22:43:46 UTC 2020 on sn-devel-184 --- diff --git a/selftest/subunithelper.py b/selftest/subunithelper.py index 7224ddbaed5..26158cad339 100644 --- a/selftest/subunithelper.py +++ b/selftest/subunithelper.py @@ -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