Commit 215b3e74 authored by Roman Donchenko's avatar Roman Donchenko

Added to the test log parser a crude ability to detect non-implemented tests.

parent 1080c429
......@@ -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_", "")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment