-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Mark mandatory conformance tests for HW plugins #26015
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
Changes from 26 commits
85e813a
7581a27
1137f38
dd84594
0aa7547
35dffc9
6d58a4a
88ff413
1eb33d8
820a47f
7a5f9ab
2c6be6e
d0cedf6
3da49e3
746f47c
26aae19
33ee9a0
47f064a
b6ee44f
67809f9
6716b56
e2f8ab8
d4b3a38
ad7a975
d0eb4ca
7e40e6a
ec2b2e7
ca0d462
5c7ae6d
19d7d1c
77c21f0
eb36a2e
e608d90
54fc7c9
f02dfa4
38f6524
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,8 @@ | |
| #include "behavior/ov_plugin/query_model.hpp" | ||
| #include "openvino/runtime/core.hpp" | ||
| #include "ov_api_conformance_helpers.hpp" | ||
| #include "behavior/ov_plugin/properties_tests.hpp" | ||
| #include "base/ov_behavior_test_utils.hpp" | ||
|
|
||
| using namespace ov::test::behavior; | ||
| using namespace ov::test::conformance; | ||
|
|
@@ -15,17 +17,15 @@ namespace { | |
| // OV Class Common tests with <pluginName, deviceName params> | ||
| // | ||
|
|
||
| INSTANTIATE_TEST_SUITE_P(ov_plugin_mandatory, | ||
| OVClassModelTestP, | ||
| ::testing::Values(ov::test::utils::target_device)); | ||
|
|
||
| INSTANTIATE_TEST_SUITE_P(ov_plugin, | ||
| OVClassModelOptionalTestP, | ||
| ::testing::Values(ov::test::utils::target_device)); | ||
|
|
||
| // OV Class Query network | ||
|
|
||
| INSTANTIATE_TEST_SUITE_P(ov_plugin_mandatory, | ||
| static std::string (*NULL_getTestCaseName)(const testing::TestParamInfo<std::string>& info) = NULL; | ||
| INSTANTIATE_TEST_SUITE_P(ov_plugin, | ||
| OVClassQueryModelTest, | ||
| ::testing::Values(ov::test::utils::target_device)); | ||
| ::testing::Values(ov::test::utils::target_device), | ||
| MARK_MANDATORY_API_FOR_HW_DEVICE(NULL_getTestCaseName)); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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...
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The reason is to support 2 types test cases with unify MACRO: Another option, define 2 MACROs:
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it possible to rename as In general, LGTM |
||
| } // namespace | ||
Uh oh!
There was an error while loading. Please reload this page.