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 <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2023-04-04 23:57:58 +00:00 committed by Henrik Brix Andersen
parent 811a74c019
commit 233b2e1100
1 changed files with 1 additions and 0 deletions

View File

@ -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"