From a732c3a9ff456580525b167a81be2ea5cdd33c53 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Mon, 8 Jul 2019 18:20:49 -0600 Subject: [PATCH] Post UNKNOWN CPU results in DIAG FAIL color --- .bin/Scripts/functions/hw_diags.py | 1 + 1 file changed, 1 insertion(+) diff --git a/.bin/Scripts/functions/hw_diags.py b/.bin/Scripts/functions/hw_diags.py index bf3a0c6c..ef2bf23b 100644 --- a/.bin/Scripts/functions/hw_diags.py +++ b/.bin/Scripts/functions/hw_diags.py @@ -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)