mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
tests: Print failure exeception if logger output goes to file
This makes it more convenient to determine failure reasons during test case development and VM testing. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
9d3d2dbdcb
commit
ac69c33297
@ -375,6 +375,8 @@ def main():
|
||||
result = "PASS"
|
||||
except Exception, e:
|
||||
logger.info(e)
|
||||
if args.loglevel == logging.WARNING:
|
||||
print "Exception: " + str(e)
|
||||
result = "FAIL"
|
||||
for d in dev:
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user