sanitycheck: capture non-ztest results
We were missing test results from non-ztest tests in the target reports.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
diff --git a/scripts/sanity_chk/harness.py b/scripts/sanity_chk/harness.py
index 33e18c7..170ff30 100644
--- a/scripts/sanity_chk/harness.py
+++ b/scripts/sanity_chk/harness.py
@@ -143,6 +143,11 @@
if self.FAULT in line:
self.fault = True
+ if self.state == "passed":
+ self.tests[self.id] = "PASS"
+ else:
+ self.tests[self.id] = "FAIL"
+
if self.GCOV_START in line:
self.capture_coverage = True
elif self.GCOV_END in line: