Temporarily skip ExecGraphTests.CheckExecGraphInfoSerialization on GPU (#2921)

* Skip ExecGraphTests.CheckExecGraphInfoSerialization on GPU

* [execution_graph_tests] Add test skipping macro

* Add missing import
This commit is contained in:
Andrey Babushkin 2020-11-01 12:55:50 +03:00 committed by GitHub
parent 32732a1f29
commit 4acd117c8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 0 deletions

View File

@ -34,5 +34,7 @@ std::vector<std::string> disabledTestPatterns() {
// TODO: Issue: 41461
R"(.*TopKLayerTest.*k=10.*mode=min.*sort=index.*)",
R"(.*TopKLayerTest.*k=5.*sort=(none|index).*)",
// TODO: Issue: 42029
R"(.*ExecGraphTests.CheckExecGraphInfoSerialization)",
};
}

View File

@ -3,6 +3,7 @@
//
#include "execution_graph_tests/keep_assing.hpp"
#include "functional_test_utils/skip_tests_config.hpp"
#include <ngraph/ngraph.hpp>
#include <inference_engine.hpp>
@ -19,6 +20,8 @@ std::string ExecGraphKeepAssignNode::getTestCaseName(testing::TestParamInfo<std:
* So exec graph may lose it. Will check that it's present in dumped exec graph.
*/
TEST_P(ExecGraphKeepAssignNode, KeepAssignNode) {
SKIP_IF_CURRENT_TEST_IS_DISABLED()
auto device_name = this->GetParam();
ngraph::Shape shape = {3, 2};
ngraph::element::Type type = ngraph::element::f32;

View File

@ -13,6 +13,7 @@
#include "functional_test_utils/plugin_cache.hpp"
#include "functional_test_utils/layer_test_utils.hpp"
#include "common_test_utils/common_utils.hpp"
#include "functional_test_utils/skip_tests_config.hpp"
#include "execution_graph_tests/num_inputs_fusing_bin_conv.hpp"
@ -50,6 +51,8 @@ void ExecGraphInputsFusingBinConv::TearDown() {
}
TEST_P(ExecGraphInputsFusingBinConv, CheckNumInputsInBinConvFusingWithConv) {
SKIP_IF_CURRENT_TEST_IS_DISABLED()
InferenceEngine::CNNNetwork cnnNet(fnPtr);
auto ie = PluginCache::get().ie();
auto execNet = ie->LoadNetwork(cnnNet, targetDevice);

View File

@ -18,6 +18,7 @@
#include "functional_test_utils/plugin_cache.hpp"
#include "functional_test_utils/layer_test_utils.hpp"
#include "functional_test_utils/blob_utils.hpp"
#include "functional_test_utils/skip_tests_config.hpp"
#include "execution_graph_tests/unique_node_names.hpp"
@ -60,6 +61,8 @@ void ExecGraphUniqueNodeNames::TearDown() {
}
TEST_P(ExecGraphUniqueNodeNames, CheckUniqueNodeNames) {
SKIP_IF_CURRENT_TEST_IS_DISABLED()
InferenceEngine::CNNNetwork cnnNet(fnPtr);
auto ie = PluginCache::get().ie();