Fix segfault on windows with MSVC (#14466)
* MSVC compiler cannot handle copying empty AnyMap
This commit is contained in:
parent
6106ece9dd
commit
5651488e06
@ -34,8 +34,6 @@ inline const std::vector<ov::AnyMap> generate_ov_configs(const std::string& targ
|
|||||||
return resultConfig;
|
return resultConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
const ov::AnyMap ov_config = ov::test::conformance::pluginConfig;
|
|
||||||
|
|
||||||
} // namespace conformance
|
} // namespace conformance
|
||||||
} // namespace test
|
} // namespace test
|
||||||
} // namespace ov
|
} // namespace ov
|
||||||
|
@ -33,6 +33,6 @@ INSTANTIATE_TEST_SUITE_P(ov_compiled_model,
|
|||||||
::testing::Combine(
|
::testing::Combine(
|
||||||
::testing::ValuesIn(ovExecGraphInfoElemTypes),
|
::testing::ValuesIn(ovExecGraphInfoElemTypes),
|
||||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||||
::testing::Values(ov_config)),
|
::testing::Values(pluginConfig)),
|
||||||
OVExecGraphImportExportTest::getTestCaseName);
|
OVExecGraphImportExportTest::getTestCaseName);
|
||||||
} // namespace
|
} // namespace
|
||||||
|
@ -14,6 +14,6 @@ using namespace ov::test::conformance;
|
|||||||
INSTANTIATE_TEST_SUITE_P(ov_compiled_model, OVExecutableNetworkBaseTest,
|
INSTANTIATE_TEST_SUITE_P(ov_compiled_model, OVExecutableNetworkBaseTest,
|
||||||
::testing::Combine(
|
::testing::Combine(
|
||||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||||
::testing::Values(ov_config)),
|
::testing::Values(pluginConfig)),
|
||||||
OVExecutableNetworkBaseTest::getTestCaseName);
|
OVExecutableNetworkBaseTest::getTestCaseName);
|
||||||
} // namespace
|
} // namespace
|
||||||
|
@ -15,7 +15,7 @@ using namespace ov::test::conformance;
|
|||||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestCallbackTests,
|
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestCallbackTests,
|
||||||
::testing::Combine(
|
::testing::Combine(
|
||||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||||
::testing::Values(ov_config)),
|
::testing::Values(pluginConfig)),
|
||||||
OVInferRequestCallbackTests::getTestCaseName);
|
OVInferRequestCallbackTests::getTestCaseName);
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
@ -12,6 +12,6 @@ using namespace ov::test::conformance;
|
|||||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestCancellationTests,
|
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestCancellationTests,
|
||||||
::testing::Combine(
|
::testing::Combine(
|
||||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||||
::testing::Values(ov_config)),
|
::testing::Values(pluginConfig)),
|
||||||
OVInferRequestCancellationTests::getTestCaseName);
|
OVInferRequestCancellationTests::getTestCaseName);
|
||||||
} // namespace
|
} // namespace
|
||||||
|
@ -61,7 +61,7 @@ INSTANTIATE_TEST_SUITE_P(ov_infer_request_1, OVInferRequestDynamicTests,
|
|||||||
{{1, 4, 20, 20}, {1, 4, 20, 20}},
|
{{1, 4, 20, 20}, {1, 4, 20, 20}},
|
||||||
{{2, 4, 20, 20}, {2, 4, 20, 20}}}),
|
{{2, 4, 20, 20}, {2, 4, 20, 20}}}),
|
||||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||||
::testing::Values(ov_config)),
|
::testing::Values(pluginConfig)),
|
||||||
OVInferRequestDynamicTests::getTestCaseName);
|
OVInferRequestDynamicTests::getTestCaseName);
|
||||||
|
|
||||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request_2, OVInferRequestDynamicTests,
|
INSTANTIATE_TEST_SUITE_P(ov_infer_request_2, OVInferRequestDynamicTests,
|
||||||
@ -71,6 +71,6 @@ INSTANTIATE_TEST_SUITE_P(ov_infer_request_2, OVInferRequestDynamicTests,
|
|||||||
{{1, 4, 20, 20}, {1, 2, 20, 40}},
|
{{1, 4, 20, 20}, {1, 2, 20, 40}},
|
||||||
{{2, 4, 20, 20}, {2, 2, 20, 40}}}),
|
{{2, 4, 20, 20}, {2, 2, 20, 40}}}),
|
||||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||||
::testing::Values(ov_config)),
|
::testing::Values(pluginConfig)),
|
||||||
OVInferRequestDynamicTests::getTestCaseName);
|
OVInferRequestDynamicTests::getTestCaseName);
|
||||||
} // namespace
|
} // namespace
|
||||||
|
@ -13,6 +13,6 @@ using namespace ov::test::conformance;
|
|||||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferenceChaining,
|
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferenceChaining,
|
||||||
::testing::Combine(
|
::testing::Combine(
|
||||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||||
::testing::Values(ov_config)),
|
::testing::Values(pluginConfig)),
|
||||||
OVInferenceChaining::getTestCaseName);
|
OVInferenceChaining::getTestCaseName);
|
||||||
} // namespace
|
} // namespace
|
||||||
|
@ -15,7 +15,7 @@ namespace {
|
|||||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestIOTensorTest,
|
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestIOTensorTest,
|
||||||
::testing::Combine(
|
::testing::Combine(
|
||||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||||
::testing::Values(ov_config)),
|
::testing::Values(pluginConfig)),
|
||||||
OVInferRequestIOTensorTest::getTestCaseName);
|
OVInferRequestIOTensorTest::getTestCaseName);
|
||||||
|
|
||||||
std::vector<ov::element::Type> ovIOTensorElemTypes = {
|
std::vector<ov::element::Type> ovIOTensorElemTypes = {
|
||||||
@ -41,6 +41,6 @@ INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestIOTensorSetPrecisionTes
|
|||||||
::testing::Combine(
|
::testing::Combine(
|
||||||
::testing::ValuesIn(ovIOTensorElemTypes),
|
::testing::ValuesIn(ovIOTensorElemTypes),
|
||||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||||
::testing::Values(ov_config)),
|
::testing::Values(pluginConfig)),
|
||||||
OVInferRequestIOTensorSetPrecisionTest::getTestCaseName);
|
OVInferRequestIOTensorSetPrecisionTest::getTestCaseName);
|
||||||
} // namespace
|
} // namespace
|
||||||
|
@ -16,7 +16,7 @@ namespace {
|
|||||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestMultithreadingTests,
|
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestMultithreadingTests,
|
||||||
::testing::Combine(
|
::testing::Combine(
|
||||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||||
::testing::Values(ov_config)),
|
::testing::Values(pluginConfig)),
|
||||||
OVInferRequestMultithreadingTests::getTestCaseName);
|
OVInferRequestMultithreadingTests::getTestCaseName);
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
@ -13,7 +13,7 @@ namespace {
|
|||||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestPerfCountersTest,
|
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestPerfCountersTest,
|
||||||
::testing::Combine(
|
::testing::Combine(
|
||||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||||
::testing::Values(ov_config)),
|
::testing::Values(pluginConfig)),
|
||||||
OVInferRequestPerfCountersTest::getTestCaseName);
|
OVInferRequestPerfCountersTest::getTestCaseName);
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
@ -16,7 +16,7 @@ namespace {
|
|||||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestWaitTests,
|
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestWaitTests,
|
||||||
::testing::Combine(
|
::testing::Combine(
|
||||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||||
::testing::Values(ov_config)),
|
::testing::Values(pluginConfig)),
|
||||||
OVInferRequestWaitTests::getTestCaseName);
|
OVInferRequestWaitTests::getTestCaseName);
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
Loading…
Reference in New Issue
Block a user