Skip to content
Closed
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
85e813a
skip query model test while mandatory
Aug 12, 2024
7581a27
Revert "skip query model test while mandatory"
Aug 14, 2024
1137f38
Merge branch 'master' into haiqi/fix_query_model
Aug 21, 2024
dd84594
Merge branch 'master' into haiqi/fix_query_model
Aug 22, 2024
0aa7547
add query model macro
Aug 23, 2024
35dffc9
change mandatory to optional
Aug 23, 2024
6d58a4a
fix comment
Aug 23, 2024
88ff413
Update to MARK_MANDATORY_API_FOR_HW_DEVICE
peterchen-intel Aug 25, 2024
1eb33d8
change macro name
Aug 26, 2024
820a47f
fix empty string failure
Aug 27, 2024
7a5f9ab
Merge branch 'master' into haiqi/fix_query_model
Aug 29, 2024
2c6be6e
remove sw_plugin_in_target_device
Aug 29, 2024
d0cedf6
remove OVClassModelTestP in test suite
Sep 3, 2024
3da49e3
fix OVCheckChangePropComplieModleGetPropTests_DEVICE_ID
Sep 9, 2024
746f47c
remove sw_plugin_in_target_device in OVCheckChangePropComplieModleGet…
Sep 9, 2024
26aae19
MARK_MANDATORY_API_FOR_HW_DEVICE support NULL
peterchen-intel Sep 9, 2024
33ee9a0
Revert "MARK_MANDATORY_API_FOR_HW_DEVICE support NULL"
Sep 11, 2024
47f064a
remove sw_plugin_in_target_device
Sep 11, 2024
b6ee44f
remove sw_plugin_target_device in life_time.cpp
Sep 11, 2024
67809f9
add header
Sep 11, 2024
6716b56
Merge branch 'master' into haiqi/fix_query_model
Sep 11, 2024
e2f8ab8
add function point for MARK_MANDATORY_API_FOR_HW_DEVICE
Sep 11, 2024
d4b3a38
add function pointer for MARK_MANDATORY_API_FOR_HW_DEVICE
Sep 11, 2024
ad7a975
move pointer
Sep 11, 2024
d0eb4ca
fix hetero error
Sep 11, 2024
7e40e6a
fix code style
Sep 11, 2024
ec2b2e7
skip GetMetricAndPrintNoThrow_AVAILABLE_DEVICES for hetero
Sep 13, 2024
ca0d462
revert
Sep 13, 2024
5c7ae6d
remove pointer
Sep 13, 2024
19d7d1c
Merge branch 'master' into haiqi/fix_query_model
Sep 13, 2024
77c21f0
Merge branch 'master' into haiqi/fix_query_model
Sep 14, 2024
eb36a2e
Merge branch 'master' into haiqi/fix_query_model
Sep 16, 2024
e608d90
Merge branch 'master' into haiqi/fix_query_model
peterchen-intel Sep 18, 2024
54fc7c9
Merge branch 'master' into haiqi/fix_query_model
peterchen-intel Sep 22, 2024
f02dfa4
revert OVClassModelTestP
Sep 24, 2024
38f6524
fix code style
Sep 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -15,17 +17,19 @@ namespace {
// OV Class Common tests with <pluginName, deviceName params>
//

INSTANTIATE_TEST_SUITE_P(ov_plugin_mandatory,
INSTANTIATE_TEST_SUITE_P(ov_plugin,
OVClassModelTestP,
::testing::Values(ov::test::utils::target_device));
::testing::Values(ov::test::utils::target_device),
MARK_MANDATORY_FOR_API_HW_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,
INSTANTIATE_TEST_SUITE_P(ov_plugin,
OVClassQueryModelTest,
::testing::Values(ov::test::utils::target_device));
::testing::Values(ov::test::utils::target_device),
MARK_MANDATORY_FOR_API_HW_DEVICE());
} // namespace
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,19 @@
#include "common_test_utils/subgraph_builders/split_concat.hpp"

#define MARK_MANDATORY_FOR_HW_DEVICE(GET_TEST_NAME) \
[&](const testing::TestParamInfo<PropertiesParams>& info) { \
std::string name = GET_TEST_NAME(info); \
[](const testing::TestParamInfo<PropertiesParams>& info) { \
std::string name = ""; \
if (nullptr != GET_TEST_NAME) { \
name = GET_TEST_NAME(info); \
} \
return sw_plugin_in_target_device(ov::test::utils::target_device) ? "" : "mandatory_" + name; \
}

#define MARK_MANDATORY_FOR_API_HW_DEVICE() \
[](const testing::TestParamInfo<std::string>& info) { \
return sw_plugin_in_target_device(ov::test::utils::target_device) ? "" : "mandatory_"; \
}

namespace ov {
namespace test {
namespace behavior {
Expand Down