mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
tests: Print traceback if test fails
This is useful in case we hit a problem in test code. Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
This commit is contained in:
parent
5148b392ab
commit
2147b3a7f8
@ -459,7 +459,9 @@ def main():
|
||||
traceback.print_exc()
|
||||
result = "FAIL"
|
||||
except Exception, e:
|
||||
import traceback
|
||||
logger.info(e)
|
||||
traceback.print_exc()
|
||||
if args.loglevel == logging.WARNING:
|
||||
print "Exception: " + str(e)
|
||||
result = "FAIL"
|
||||
|
Loading…
Reference in New Issue
Block a user