From 233b2e1100904320218eea4ac37c5f4398ceb491 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 4 Apr 2023 23:57:58 +0000 Subject: [PATCH] twister: handler: update missing status of failed tests Some tests report no status even without timeout, so address this case as well. Signed-off-by: Anas Nashif --- scripts/pylib/twister/twisterlib/handlers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/pylib/twister/twisterlib/handlers.py b/scripts/pylib/twister/twisterlib/handlers.py index 525d8f30ec0..5ffba005539 100755 --- a/scripts/pylib/twister/twisterlib/handlers.py +++ b/scripts/pylib/twister/twisterlib/handlers.py @@ -536,6 +536,7 @@ class DeviceHandler(Handler): self.instance.status = harness_state if harness_state == "failed": self.instance.reason = "Failed" + self.instance.add_missing_case_status("blocked", harness_state) elif not flash_error: self.instance.status = "failed" self.instance.reason = "Timeout"