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;
|
||||
}
|
||||
|
||||
const ov::AnyMap ov_config = ov::test::conformance::pluginConfig;
|
||||
|
||||
} // namespace conformance
|
||||
} // namespace test
|
||||
} // namespace ov
|
||||
|
@ -33,6 +33,6 @@ INSTANTIATE_TEST_SUITE_P(ov_compiled_model,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(ovExecGraphInfoElemTypes),
|
||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||
::testing::Values(ov_config)),
|
||||
::testing::Values(pluginConfig)),
|
||||
OVExecGraphImportExportTest::getTestCaseName);
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
@ -14,6 +14,6 @@ using namespace ov::test::conformance;
|
||||
INSTANTIATE_TEST_SUITE_P(ov_compiled_model, OVExecutableNetworkBaseTest,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||
::testing::Values(ov_config)),
|
||||
::testing::Values(pluginConfig)),
|
||||
OVExecutableNetworkBaseTest::getTestCaseName);
|
||||
} // namespace
|
||||
|
@ -15,7 +15,7 @@ using namespace ov::test::conformance;
|
||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestCallbackTests,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||
::testing::Values(ov_config)),
|
||||
::testing::Values(pluginConfig)),
|
||||
OVInferRequestCallbackTests::getTestCaseName);
|
||||
|
||||
} // namespace
|
||||
|
@ -12,6 +12,6 @@ using namespace ov::test::conformance;
|
||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestCancellationTests,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||
::testing::Values(ov_config)),
|
||||
::testing::Values(pluginConfig)),
|
||||
OVInferRequestCancellationTests::getTestCaseName);
|
||||
} // namespace
|
||||
|
@ -61,7 +61,7 @@ INSTANTIATE_TEST_SUITE_P(ov_infer_request_1, OVInferRequestDynamicTests,
|
||||
{{1, 4, 20, 20}, {1, 4, 20, 20}},
|
||||
{{2, 4, 20, 20}, {2, 4, 20, 20}}}),
|
||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||
::testing::Values(ov_config)),
|
||||
::testing::Values(pluginConfig)),
|
||||
OVInferRequestDynamicTests::getTestCaseName);
|
||||
|
||||
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}},
|
||||
{{2, 4, 20, 20}, {2, 2, 20, 40}}}),
|
||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||
::testing::Values(ov_config)),
|
||||
::testing::Values(pluginConfig)),
|
||||
OVInferRequestDynamicTests::getTestCaseName);
|
||||
} // namespace
|
||||
|
@ -13,6 +13,6 @@ using namespace ov::test::conformance;
|
||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferenceChaining,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||
::testing::Values(ov_config)),
|
||||
::testing::Values(pluginConfig)),
|
||||
OVInferenceChaining::getTestCaseName);
|
||||
} // namespace
|
||||
|
@ -15,7 +15,7 @@ namespace {
|
||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestIOTensorTest,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||
::testing::Values(ov_config)),
|
||||
::testing::Values(pluginConfig)),
|
||||
OVInferRequestIOTensorTest::getTestCaseName);
|
||||
|
||||
std::vector<ov::element::Type> ovIOTensorElemTypes = {
|
||||
@ -41,6 +41,6 @@ INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestIOTensorSetPrecisionTes
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(ovIOTensorElemTypes),
|
||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||
::testing::Values(ov_config)),
|
||||
::testing::Values(pluginConfig)),
|
||||
OVInferRequestIOTensorSetPrecisionTest::getTestCaseName);
|
||||
} // namespace
|
||||
|
@ -16,7 +16,7 @@ namespace {
|
||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestMultithreadingTests,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||
::testing::Values(ov_config)),
|
||||
::testing::Values(pluginConfig)),
|
||||
OVInferRequestMultithreadingTests::getTestCaseName);
|
||||
|
||||
} // namespace
|
||||
|
@ -13,7 +13,7 @@ namespace {
|
||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestPerfCountersTest,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||
::testing::Values(ov_config)),
|
||||
::testing::Values(pluginConfig)),
|
||||
OVInferRequestPerfCountersTest::getTestCaseName);
|
||||
|
||||
} // namespace
|
||||
|
@ -16,7 +16,7 @@ namespace {
|
||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestWaitTests,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||
::testing::Values(ov_config)),
|
||||
::testing::Values(pluginConfig)),
|
||||
OVInferRequestWaitTests::getTestCaseName);
|
||||
|
||||
} // namespace
|
||||
|
Loading…
Reference in New Issue
Block a user