Tools: add more information on test failure

This commit is contained in:
Peter Barker 2018-05-15 16:42:36 +10:00 committed by Randy Mackay
parent 23a2ea4084
commit fd4463de68

View File

@ -695,7 +695,7 @@ class AutoTest(ABC):
try:
function()
except Exception as e:
self.progress('FAILED: "%s": %s' % (desc, type(e).__name__))
self.progress('FAILED: "%s": %s' % (desc, repr(e)))
self.fail_list.append((desc, e))
return
self.progress('PASSED: "%s"' % desc)