Post UNKNOWN CPU results in DIAG FAIL color
This commit is contained in:
parent
90f0fb58d9
commit
a732c3a9ff
1 changed files with 1 additions and 0 deletions
|
|
@ -1230,6 +1230,7 @@ def run_hw_tests(state):
|
|||
cpu_failed = False
|
||||
for test in state.cpu.tests.values():
|
||||
cpu_failed = cpu_failed or test.failed
|
||||
cpu_failed = cpu_failed or not test.passed
|
||||
color_code = 'Diags FAIL' if cpu_failed else 'Diags'
|
||||
state.ost.post_device_results(
|
||||
state.cpu, state.ticket_id, state.ticket_name, color_code)
|
||||
|
|
|
|||
Loading…
Reference in a new issue