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>
This commit is contained in:
Anas Nashif 2020-06-09 09:37:01 -04:00
parent 8e8c6cd92b
commit adb6a89be5

View file

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