ts: do not block reporting of launched "DISABLED_" tests
authorAlexander Alekhin <alexander.alekhin@intel.com>
Thu, 31 Oct 2019 12:10:42 +0000 (15:10 +0300)
committerAlexander Alekhin <alexander.alekhin@intel.com>
Thu, 31 Oct 2019 12:13:50 +0000 (15:13 +0300)
If tests are run through GTest option `--gtest_also_run_disabled_tests`

modules/ts/misc/testlog_parser.py

index 6152f99..2e9718b 100755 (executable)
@@ -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 = {