Simplify final passed/failed reporting
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
parent
0fa7cbeeb9
commit
e85163bb5c
1 changed files with 3 additions and 6 deletions
|
@ -323,15 +323,12 @@ Run the jobs listed in options.domains."""
|
|||
finally:
|
||||
if options.keep_going:
|
||||
restore_config(options, True)
|
||||
if successes:
|
||||
log_line('{} passed'.format(' '.join(successes)), color=colors.bold_green)
|
||||
if failures:
|
||||
if successes:
|
||||
log_line('{} passed; {} FAILED'.format(' '.join(successes),
|
||||
' '.join(failures)))
|
||||
else:
|
||||
log_line('{} FAILED'.format(' '.join(failures)))
|
||||
log_line('{} FAILED'.format(' '.join(failures)), color=colors.bold_red)
|
||||
return False
|
||||
else:
|
||||
log_line('{} passed'.format(' '.join(successes)))
|
||||
return True
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue