Skip some functional tests on VPU (#568)

This commit is contained in:
Evgeny Talanin 2020-06-03 12:15:06 +03:00 committed by GitHub
parent 3a80f0476b
commit ed85690136
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,17 +8,46 @@
#include "functional_test_utils/skip_tests_config.hpp" #include "functional_test_utils/skip_tests_config.hpp"
std::vector<std::string> disabledTestPatterns() { std::vector<std::string> disabledTestPatterns() {
return { // Not supported activation types
// Issue 26268 std::vector<std::string> unsupportedActivationTypes = {
".*ConcatLayerTest.*axis=0.*", ".*ActivationLayerTest\\.CompareWithRefs/Tanh.*netPRC=FP32.*",
// Not supported activation types ".*ActivationLayerTest\\.CompareWithRefs/Exp.*netPRC=FP32.*",
".*ActivationLayerTest\\.CompareWithRefs/Tanh.*netPRC=FP32.*", ".*ActivationLayerTest\\.CompareWithRefs/Log.*netPRC=FP32.*",
".*ActivationLayerTest\\.CompareWithRefs/Exp.*netPRC=FP32.*", ".*ActivationLayerTest\\.CompareWithRefs/Sigmoid.*netPRC=FP32.*",
".*ActivationLayerTest\\.CompareWithRefs/Log.*netPRC=FP32.*", ".*ActivationLayerTest\\.CompareWithRefs/Relu.*netPRC=FP32.*"
".*ActivationLayerTest\\.CompareWithRefs/Sigmoid.*netPRC=FP32.*",
".*ActivationLayerTest\\.CompareWithRefs/Relu.*netPRC=FP32.*",
// TODO: currently this tests are not applicable to myriadPlugin
".*Behavior.*ExecGraphTests.*"
}; };
std::vector<std::string> behaviorTests = {
".*Behavior.*ExecGraphTests.*"
};
// Issue 26268
std::vector<std::string> issue26268 = {
".*ConcatLayerTest.*axis=0.*"
};
std::vector<std::string> testsToDisable;
testsToDisable.insert(testsToDisable.end(), unsupportedActivationTypes.begin(), unsupportedActivationTypes.end());
testsToDisable.insert(testsToDisable.end(), behaviorTests.begin(), behaviorTests.end());
testsToDisable.insert(testsToDisable.end(), issue26268.begin(), issue26268.end());
#if defined(_WIN32) || defined(WIN32)
// Issue 31197
std::vector<std::string> issue31197 = {
".*IEClassBasicTestP\\.smoke_registerPluginsXMLUnicodePath/0.*",
".*myriadLayersTestsProposal_smoke\\.Caffe.*",
".*myriadLayersTestsProposal_smoke\\.CaffeNoClipBeforeNms.*",
".*myriadLayersTestsProposal_smoke\\.CaffeClipAfterNms.*",
".*myriadLayersTestsProposal_smoke\\.CaffeNormalizedOutput.*",
".*myriadLayersTestsProposal_smoke\\.TensorFlow.*",
".*myriadCTCDecoderLayerTests_smoke\\.CTCGreedyDecoder/0.*",
".*myriadCTCDecoderLayerTests_smoke\\.CTCGreedyDecoder/1.*",
".*myriadCTCDecoderLayerTests_smoke\\.CTCGreedyDecoder/2.*",
".*myriadCTCDecoderLayerTests_smoke\\.CTCGreedyDecoder/3.*"
};
testsToDisable.insert(testsToDisable.end(), issue31197.begin(), issue31197.end());
#endif
return testsToDisable;
} }