-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mark mandatory conformance tests for HW plugins #26015
Conversation
src/tests/functional/plugin/shared/include/base/ov_behavior_test_utils.hpp
Outdated
Show resolved
Hide resolved
...nal/plugin/conformance/test_runner/api_conformance_runner/src/ov_plugin/core_integration.cpp
Outdated
Show resolved
Hide resolved
src/tests/functional/plugin/shared/include/base/ov_behavior_test_utils.hpp
Outdated
Show resolved
Hide resolved
...nal/plugin/conformance/test_runner/api_conformance_runner/src/ov_plugin/core_integration.cpp
Outdated
Show resolved
Hide resolved
src/tests/functional/plugin/shared/include/base/ov_behavior_test_utils.hpp
Outdated
Show resolved
Hide resolved
...nal/plugin/conformance/test_runner/api_conformance_runner/src/ov_plugin/core_integration.cpp
Outdated
Show resolved
Hide resolved
...nal/plugin/conformance/test_runner/api_conformance_runner/src/ov_plugin/core_integration.cpp
Outdated
Show resolved
Hide resolved
src/tests/functional/plugin/shared/include/base/ov_behavior_test_utils.hpp
Outdated
Show resolved
Hide resolved
...ugins/hetero/tests/functional/shared_tests_instances/behavior/ov_plugin/properties_tests.cpp
Outdated
Show resolved
Hide resolved
OVClassQueryModelTest, | ||
::testing::Values(ov::test::utils::target_device)); | ||
::testing::Values(ov::test::utils::target_device), | ||
MARK_MANDATORY_API_FOR_HW_DEVICE(NULL_getTestCaseName)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please explain the technical details of the changes. I why you create NULLTestCaseName for sw plugin... Is there any other approaches? I asked you because it is not so clear...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reason is to support 2 types test cases with unify MACRO:
Some API test cases have implemented getTestCaseName()
For example OVHoldersTestOnImportedNetwork::getTestCaseName
Some are not. For example OVGetMetricPropsTest
Another option, define 2 MACROs:
MARK_MANDATORY_API_FOR_HW_DEVICE_0 without parameter.
MARK_MANDATORY_API_FOR_HW_DEVICE_1 with parameter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to rename as WITH_PARAM
and WITHOUT_PARAM
In general, LGTM
Replaced by #27197 |
Details:
Tickets: