Skip to content

Commit 425fb26

Browse files
committed
run: fix error log parsing
1 parent 238f1ad commit 425fb26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,13 +398,13 @@ def main(args, extra_args=None):
398398
with open(common.termout_file, 'br') as logfile:
399399
for line in logfile:
400400
if panic_re.search(line):
401-
error_string_found = true
401+
error_string_found = True
402402
with open(common.guest_terminal_file, 'br') as logfile:
403403
lines = logfile.readlines()
404404
if lines:
405405
last_line = lines[-1]
406406
if last_line.rstrip() == common.magic_fail_string:
407-
error_string_found = true
407+
error_string_found = True
408408
if error_string_found:
409409
common.log_error('simulation error detected by parsing logs')
410410
return 1

0 commit comments

Comments
 (0)