sanitycheck: count samples in reports

We have not been counting samples in reports. This change lists tests
associated with sample code which in many cases is just verifying output
from the sample and counts as 1 test.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
diff --git a/scripts/sanity_chk/harness.py b/scripts/sanity_chk/harness.py
index d7cf51b..90f5048 100644
--- a/scripts/sanity_chk/harness.py
+++ b/scripts/sanity_chk/harness.py
@@ -41,6 +41,7 @@
 class Console(Harness):
 
     def handle(self, line):
+
         if self.type == "one_line":
             pattern = re.compile(self.regex[0])
             if pattern.search(line):
@@ -78,6 +79,11 @@
         elif self.GCOV_END in line:
             self.capture_coverage = False
 
+        if self.state == "passed":
+            self.tests[self.id] = "PASS"
+        else:
+            self.tests[self.id] = "FAIL"
+
 class Test(Harness):
     RUN_PASSED = "PROJECT EXECUTION SUCCESSFUL"
     RUN_FAILED = "PROJECT EXECUTION FAILED"