ts: do not block reporting of launched "DISABLED_" tests

If tests are run through GTest option `--gtest_also_run_disabled_tests`
This commit is contained in:
Alexander Alekhin 2019-10-31 15:10:42 +03:00
parent bad4e5c3eb
commit 79f792ad05

View File

@ -30,7 +30,8 @@ class TestInfo(object):
self.status = xmlnode.getAttribute("status")
if self.name.startswith("DISABLED_"):
self.status = "disabled"
if self.status == 'notrun':
self.status = "disabled"
self.fixture = self.fixture.replace("DISABLED_", "")
self.name = self.name.replace("DISABLED_", "")
self.properties = {