Skip to content

Commit 0ee037c

Browse files
committed
avocado could say 'FAIL' too
1 parent b3408a6 commit 0ee037c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

moduleframework/mtf_log_parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ def main():
4242
exit(3)
4343
delimiter=""
4444
for i in data['tests']:
45-
if i.get('status') == 'ERROR':
45+
if i.get('status') in ['ERROR','FAIL']:
4646
print(delimiter)
4747
print("TEST: {0}".format(i.get('id')))
4848
print("ERROR: {0}".format(i.get('fail_reason')))
49-
print("LOG: {0}".format(i.get('logfile')))
49+
print(" {0}".format(i.get('logfile')))
5050
delimiter = "-------------------------"
5151

0 commit comments

Comments
 (0)