[apiConformance] Define mandatory scope for infer requiest tests (#16418)
This commit is contained in:
parent
b7bf760516
commit
ed50d3782c
@ -38,4 +38,22 @@ INSTANTIATE_TEST_SUITE_P(smoke_Auto_BehaviorTests, OVInferenceChaining,
|
||||
::testing::Values(CommonTestUtils::DEVICE_AUTO),
|
||||
::testing::ValuesIn(AutoConfigs)),
|
||||
OVInferenceChaining::getTestCaseName);
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(smoke_BehaviorTests, OVInferenceChainingStatic,
|
||||
::testing::Combine(
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU),
|
||||
::testing::ValuesIn(configs)),
|
||||
OVInferenceChainingStatic::getTestCaseName);
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(smoke_Hetero_BehaviorTests, OVInferenceChainingStatic,
|
||||
::testing::Combine(
|
||||
::testing::Values(CommonTestUtils::DEVICE_HETERO),
|
||||
::testing::ValuesIn(HeteroConfigs)),
|
||||
OVInferenceChainingStatic::getTestCaseName);
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(smoke_Auto_BehaviorTests, OVInferenceChainingStatic,
|
||||
::testing::Combine(
|
||||
::testing::Values(CommonTestUtils::DEVICE_AUTO),
|
||||
::testing::ValuesIn(AutoConfigs)),
|
||||
OVInferenceChainingStatic::getTestCaseName);
|
||||
} // namespace
|
||||
|
@ -17,4 +17,10 @@ INSTANTIATE_TEST_SUITE_P(smoke_BehaviorTests,
|
||||
::testing::Combine(::testing::Values(CommonTestUtils::DEVICE_GNA),
|
||||
::testing::ValuesIn(device_modes)),
|
||||
OVInferenceChaining::getTestCaseName);
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(smoke_BehaviorTests,
|
||||
OVInferenceChainingStatic,
|
||||
::testing::Combine(::testing::Values(CommonTestUtils::DEVICE_GNA),
|
||||
::testing::ValuesIn(device_modes)),
|
||||
OVInferenceChainingStatic::getTestCaseName);
|
||||
} // namespace
|
||||
|
@ -28,4 +28,16 @@ INSTANTIATE_TEST_SUITE_P(smoke_Hetero_BehaviorTests, OVInferenceChaining,
|
||||
::testing::ValuesIn(HeteroConfigs)),
|
||||
OVInferenceChaining::getTestCaseName);
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(smoke_BehaviorTests, OVInferenceChainingStatic,
|
||||
::testing::Combine(
|
||||
::testing::Values(CommonTestUtils::DEVICE_TEMPLATE),
|
||||
::testing::ValuesIn(configs)),
|
||||
OVInferenceChainingStatic::getTestCaseName);
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(smoke_Hetero_BehaviorTests, OVInferenceChainingStatic,
|
||||
::testing::Combine(
|
||||
::testing::Values(CommonTestUtils::DEVICE_HETERO),
|
||||
::testing::ValuesIn(HeteroConfigs)),
|
||||
OVInferenceChainingStatic::getTestCaseName);
|
||||
|
||||
} // namespace
|
||||
|
@ -12,7 +12,7 @@ namespace {
|
||||
using namespace ov::test::behavior;
|
||||
using namespace ov::test::conformance;
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestCallbackTests,
|
||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request_mandatory, OVInferRequestCallbackTests,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||
::testing::Values(pluginConfig)),
|
||||
|
@ -9,7 +9,7 @@ namespace {
|
||||
using namespace ov::test::behavior;
|
||||
using namespace ov::test::conformance;
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestCancellationTests,
|
||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request_mandatory, OVInferRequestCancellationTests,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||
::testing::Values(pluginConfig)),
|
||||
|
@ -6,10 +6,16 @@
|
||||
#include "common_test_utils/test_constants.hpp"
|
||||
#include "ov_api_conformance_helpers.hpp"
|
||||
|
||||
|
||||
namespace {
|
||||
using namespace ov::test::behavior;
|
||||
using namespace ov::test::conformance;
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request_mandatory, OVInferenceChainingStatic,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||
::testing::Values(pluginConfig)),
|
||||
OVInferenceChaining::getTestCaseName);
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferenceChaining,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||
|
@ -13,7 +13,7 @@ using namespace ov::test::conformance;
|
||||
|
||||
namespace {
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request, OVInferRequestMultithreadingTests,
|
||||
INSTANTIATE_TEST_SUITE_P(ov_infer_request_mandatory, OVInferRequestMultithreadingTests,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(return_all_possible_device_combination()),
|
||||
::testing::Values(pluginConfig)),
|
||||
|
@ -86,6 +86,13 @@ INSTANTIATE_TEST_SUITE_P(smoke_Auto_BehaviorTests, OVInferenceChaining,
|
||||
::testing::Values(CommonTestUtils::DEVICE_AUTO),
|
||||
::testing::ValuesIn(AutoConfigs())),
|
||||
OVInferenceChaining::getTestCaseName);
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(smoke_Auto_BehaviorTests, OVInferenceChainingStatic,
|
||||
::testing::Combine(
|
||||
::testing::Values(CommonTestUtils::DEVICE_AUTO),
|
||||
::testing::ValuesIn(AutoConfigs())),
|
||||
OVInferenceChainingStatic::getTestCaseName);
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(smoke_Auto_BehaviorTests, OVNotSupportRequestDynamicTests,
|
||||
::testing::Combine(
|
||||
::testing::Values(getFunction2()),
|
||||
|
@ -56,6 +56,8 @@ public:
|
||||
|
||||
void Run();
|
||||
};
|
||||
using OVInferenceChainingStatic = OVInferenceChaining;
|
||||
|
||||
} // namespace behavior
|
||||
} // namespace test
|
||||
} // namespace ov
|
||||
|
@ -134,6 +134,7 @@ void OVInferenceChaining::Run() {
|
||||
}
|
||||
}
|
||||
|
||||
// DEPRECATED VERSION
|
||||
TEST_P(OVInferenceChaining, StaticOutputToStaticInput) {
|
||||
// Skip test according to plugin specific disabledTestPatterns() (if any)
|
||||
SKIP_IF_CURRENT_TEST_IS_DISABLED()
|
||||
@ -145,6 +146,17 @@ TEST_P(OVInferenceChaining, StaticOutputToStaticInput) {
|
||||
Run();
|
||||
}
|
||||
|
||||
TEST_P(OVInferenceChainingStatic, StaticOutputToStaticInput) {
|
||||
// Skip test according to plugin specific disabledTestPatterns() (if any)
|
||||
SKIP_IF_CURRENT_TEST_IS_DISABLED()
|
||||
|
||||
function0 = getFirstStaticFunction();
|
||||
function1 = getSecondStaticFunction();
|
||||
function2 = getThirdStaticFunction();
|
||||
|
||||
Run();
|
||||
}
|
||||
|
||||
TEST_P(OVInferenceChaining, StaticOutputToDynamicInput) {
|
||||
// Skip test according to plugin specific disabledTestPatterns() (if any)
|
||||
SKIP_IF_CURRENT_TEST_IS_DISABLED()
|
||||
|
Loading…
Reference in New Issue
Block a user