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:
|
finally:
|
||||||
if options.keep_going:
|
if options.keep_going:
|
||||||
restore_config(options, True)
|
restore_config(options, True)
|
||||||
|
if successes:
|
||||||
|
log_line('{} passed'.format(' '.join(successes)), color=colors.bold_green)
|
||||||
if failures:
|
if failures:
|
||||||
if successes:
|
log_line('{} FAILED'.format(' '.join(failures)), color=colors.bold_red)
|
||||||
log_line('{} passed; {} FAILED'.format(' '.join(successes),
|
|
||||||
' '.join(failures)))
|
|
||||||
else:
|
|
||||||
log_line('{} FAILED'.format(' '.join(failures)))
|
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
log_line('{} passed'.format(' '.join(successes)))
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue