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

If tests are run through GTest option `--gtest_also_run_disabled_tests`
pull/15819/head
Alexander Alekhin 6 years ago
parent bad4e5c3eb
commit 79f792ad05
  1. 1
      modules/ts/misc/testlog_parser.py

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

Loading…
Cancel
Save