Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[conformance] Fixed adding the OpImpl entity to the gtest_filter (#30995)

Sofya Balandina80234785114d
diff --git a/src/tests/test_utils/functional_test_utils/layer_tests_summary/run_conformance.py b/src/tests/test_utils/functional_test_utils/layer_tests_summary/run_conformance.py
index 03028a26fbb..6ca95336589 100644
--- a/src/tests/test_utils/functional_test_utils/layer_tests_summary/run_conformance.py
+++ b/src/tests/test_utils/functional_test_utils/layer_tests_summary/run_conformance.py
@@ -106,7 +106,7 @@ class Conformance:
self.__entity = ""
if type == constants.OP_CONFORMANCE:
if entity == "Inference" or entity == "QueryModel" or entity == "ImportExport" or entity == "" or entity == "OpImpl":
- self.__entity = entity
+ self.__entity = entity if entity == "" else f"*.{entity}/"
else:
logger.error(f'Incorrect value to set entity type: {special_mode}. Please check `help` to get possible values')
exit(-1)
@@ -115,7 +115,7 @@ class Conformance:
else:
logger.error(f'Incorrect value to set shape mode: {special_mode}. Please check `help` to get possible values')
exit(-1)
- self._gtest_filter = f"*{self.__entity}*{gtest_filter}*{'' if self.__entity == 'OpImpl' else ':-*OpImpl*'}"
+ self._gtest_filter = f"{self.__entity}*{gtest_filter}*"
elif type == constants.API_CONFORMANCE:
if entity == "ov_compiled_model" or entity == "ov_plugin" or entity == "ov_infer_request" or entity == "":
self.__entity = entity