[IE TESTS] disable Some myriad tests on Win (#763) (#988)

* [IE TESTS] disable Some myriad tests on Windisable Some myriad tests on Win

* Skip test with todo

Co-authored-by: Irina Efode <irina.efode@intel.com>
This commit is contained in:
Evgeny Talanin 2020-06-18 13:57:21 +03:00 committed by GitHub
parent c596707a09
commit 843f81a1cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 31 additions and 6 deletions

View File

@ -18,5 +18,9 @@ std::vector<std::string> disabledTestPatterns() {
".*Behavior.*ExecGraphTests.*",
// TODO: Issue: 26268
".*ConcatLayerTest.*axis=0.*",
#if defined(_WIN32) || defined(_WIN64)
//TODO: Issue: 33722
".*DynamicTranspose.*NonZero_Transpose.*",
#endif
};
}

View File

@ -178,6 +178,13 @@ TEST_F(IEClassBasicTest, smoke_createMockEngineConfigThrows) {
#ifdef ENABLE_UNICODE_PATH_SUPPORT
TEST_P(IEClassBasicTestP, smoke_registerPluginsXMLUnicodePath) {
// TODO: Issue: 31197 Remove this code
#if defined(_WIN32) || defined(_WIN64)
if (deviceName == CommonTestUtils::DEVICE_MYRIAD) {
GTEST_SKIP();
}
#endif
std::string pluginXML = TestDataHelpers::get_data_path() + "/ie_class/mock_engine_valid.xml";
for (std::size_t testIndex = 0; testIndex < CommonTestUtils::test_unicode_postfix_vector.size(); testIndex++) {

View File

@ -3,6 +3,7 @@
//
#include <cmath>
#include <functional_test_utils/skip_tests_config.hpp>
#include "myriad_layers_tests.hpp"
using namespace InferenceEngine;
@ -84,6 +85,7 @@ void refCTCDecoder(const Blob::Ptr src, const Blob::Ptr seq_ind, Blob::Ptr dst)
}
TEST_P(myriadCTCDecoderLayerTests_smoke, CTCGreedyDecoder) {
SKIP_IF_CURRENT_TEST_IS_DISABLED()
const tensor_test_params dims = std::get<0>(GetParam());
const bool hwOptimization = std::get<1>(GetParam());
_irVersion = std::get<2>(GetParam());

View File

@ -6,6 +6,7 @@
#include <gtest/gtest.h>
#include "myriad_layers_tests.hpp"
#include <blob_factory.hpp>
#include <functional_test_utils/skip_tests_config.hpp>
using namespace InferenceEngine;
@ -278,7 +279,7 @@ std::string caffeModel() {
}
TEST_F(myriadLayersTestsProposal_smoke, Caffe) {
SKIP_IF_CURRENT_TEST_IS_DISABLED();
// Verify only 20 ranked proposal output with GT values
std::vector<float> gt_values = {
0.f, 72.363f, 58.942f, 197.141f, 177.96f, // batch_num, left, top, right, bottom
@ -314,7 +315,7 @@ TEST_F(myriadLayersTestsProposal_smoke, Caffe) {
}
TEST_F(myriadLayersTestsProposal_smoke, CaffeNoClipBeforeNms) {
SKIP_IF_CURRENT_TEST_IS_DISABLED();
// Verify only 20 ranked proposal output with GT values - reference get from MKLDNN plugin
std::vector<float> gt_values = {
0, 72.408f, 58.925f, 197.062f, 177.856f,
@ -353,7 +354,7 @@ TEST_F(myriadLayersTestsProposal_smoke, CaffeNoClipBeforeNms) {
}
TEST_F(myriadLayersTestsProposal_smoke, CaffeClipAfterNms) {
SKIP_IF_CURRENT_TEST_IS_DISABLED();
// Verify only 20 ranked proposal output with GT values
std::vector<float> gt_values = {
0, 72.408f, 58.925f, 197.062f, 177.856f,
@ -395,7 +396,7 @@ TEST_F(myriadLayersTestsProposal_smoke, CaffeClipAfterNms) {
}
TEST_F(myriadLayersTestsProposal_smoke, CaffeNormalizedOutput) {
SKIP_IF_CURRENT_TEST_IS_DISABLED();
// Verify only 20 ranked proposal output with GT values
std::vector<float> gt_values = {
0, 0.323f, 0.263f, 0.879f, 0.794f,
@ -437,7 +438,7 @@ TEST_F(myriadLayersTestsProposal_smoke, CaffeNormalizedOutput) {
}
TEST_F(myriadLayersTestsProposal_smoke, TensorFlow) {
SKIP_IF_CURRENT_TEST_IS_DISABLED();
model = R"V0G0N(
<net name="testProposal" version="2" batch="1">
<layers>

View File

@ -18,7 +18,18 @@ bool deviceForceReset() { return true; }
} // namespace tests
} // namespace vpu
std::vector<std::string> disabledTestPatterns() {
return {
#if defined(_WIN32) || defined(_WIN64)
// TODO: Issue 31197
R"(.*(IEClassBasicTestP).*smoke_registerPluginsXMLUnicodePath.*)",
R"(.*(myriadLayersTestsProposal_smoke).*Caffe.*)",
R"(.*(myriadLayersTestsProposal_smoke).*CaffeNoClipBeforeNms.*)",
R"(.*(myriadLayersTestsProposal_smoke).*CaffeClipAfterNms.*)",
R"(.*(myriadLayersTestsProposal_smoke).*CaffeNormalizedOutput.*)",
R"(.*(myriadLayersTestsProposal_smoke).*TensorFlow.*)",
R"(.*(myriadCTCDecoderLayerTests_smoke).*CTCGreedyDecoder.*)",
#endif
};
}
}