From adb6a89be53c286596775fc54a3043d2733269e2 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 9 Jun 2020 09:37:01 -0400 Subject: [PATCH] sanitycheck: capture non-ztest results We were missing test results from non-ztest tests in the target reports. Signed-off-by: Anas Nashif --- scripts/sanity_chk/harness.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/sanity_chk/harness.py b/scripts/sanity_chk/harness.py index 33e18c72aa8..170ff3012fb 100644 --- a/scripts/sanity_chk/harness.py +++ b/scripts/sanity_chk/harness.py @@ -143,6 +143,11 @@ class Test(Harness): 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: