Added to the test log parser a crude ability to detect non-implemented tests.
authorRoman Donchenko <roman.donchenko@itseez.com>
Fri, 5 Jul 2013 15:05:42 +0000 (19:05 +0400)
committerRoman Donchenko <roman.donchenko@itseez.com>
Wed, 10 Jul 2013 10:58:51 +0000 (14:58 +0400)
modules/ts/misc/testlog_parser.py

index 5d47864..841ad2e 100755 (executable)
@@ -13,10 +13,17 @@ class TestInfo(object):
         self.name = xmlnode.getAttribute("name")
         self.value_param = xmlnode.getAttribute("value_param")
         self.type_param = xmlnode.getAttribute("type_param")
-        if xmlnode.getElementsByTagName("failure"):
-            self.status = "failed"
+
+        failures = xmlnode.getElementsByTagName("failure")
+        if len(failures) > 0:
+            if any("No equivalent implementation" in f.getAttribute("message")
+                   for f in failures):
+                self.status = "notimpl"
+            else:
+                self.status = "failed"
         else:
             self.status = xmlnode.getAttribute("status")
+
         if self.name.startswith("DISABLED_"):
             self.status = "disabled"
             self.fixture = self.fixture.replace("DISABLED_", "")