3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 17:59:25 +01:00

test-runner: print uncaught test exceptions always

This commit is contained in:
James Prestwood 2021-08-12 16:07:14 -07:00 committed by Denis Kenzior
parent ea3ce7a119
commit c23c37c07c

View File

@ -1259,8 +1259,8 @@ def run_auto_tests(ctx, args):
ctx.results[os.path.basename(test)] = rqueue.get() ctx.results[os.path.basename(test)] = rqueue.get()
except Exception as ex: except Exception as ex:
print(ex) dbg(ex)
print("Uncaught exception thrown for %s" % test) dbg("Uncaught exception thrown for %s" % test)
ctx.results[os.path.basename(test)] = SimpleResult(run=0, failures=0, ctx.results[os.path.basename(test)] = SimpleResult(run=0, failures=0,
errors=0, skipped=0, time=0) errors=0, skipped=0, time=0)
finally: finally: