From: Alexander Alekhin Date: Thu, 31 Oct 2019 12:10:42 +0000 (+0300) Subject: ts: do not block reporting of launched "DISABLED_" tests X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~1^2~66^2~6^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=79f792ad0585a94c178eb1b36b0a49360320f7be;p=platform%2Fupstream%2Fopencv.git ts: do not block reporting of launched "DISABLED_" tests If tests are run through GTest option `--gtest_also_run_disabled_tests` --- diff --git a/modules/ts/misc/testlog_parser.py b/modules/ts/misc/testlog_parser.py index 6152f99..2e9718b 100755 --- a/modules/ts/misc/testlog_parser.py +++ b/modules/ts/misc/testlog_parser.py @@ -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 = {