projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
When a test fails with exception, actually print out the reason why.
[riscv-tests.git]
/
debug
/
testlib.py
diff --git
a/debug/testlib.py
b/debug/testlib.py
index 9a45cd018467a5125510b32c870dd7c6a4bae84f..b81b4cdd7806358773e5c926d77eb22f3a7f15ec 100644
(file)
--- a/
debug/testlib.py
+++ b/
debug/testlib.py
@@
-560,6
+560,8
@@
class BaseTest(object):
result = "fail"
else:
result = "exception"
+ header ("Backtrace")
+ print e
if isinstance(e, TestFailed):
header("Message")
print e.message