mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
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:
parent
bad4e5c3eb
commit
79f792ad05
@ -30,7 +30,8 @@ class TestInfo(object):
|
|||||||
self.status = xmlnode.getAttribute("status")
|
self.status = xmlnode.getAttribute("status")
|
||||||
|
|
||||||
if self.name.startswith("DISABLED_"):
|
if self.name.startswith("DISABLED_"):
|
||||||
self.status = "disabled"
|
if self.status == 'notrun':
|
||||||
|
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_", "")
|
||||||
self.properties = {
|
self.properties = {
|
||||||
|
Loading…
Reference in New Issue
Block a user