Removed commonTestUtils from ngraph tests (#7956)

* Removed commonTestUtils from ngraph tests

* Fixed build
This commit is contained in:
Ilya Churaev 2021-10-13 09:56:12 +03:00 committed by GitHub
parent 972524f1cc
commit 0d020974f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -624,8 +624,7 @@ target_link_libraries(unit-test PRIVATE ngraph_test_util
interpreter_backend
Threads::Threads
openvino::conditional_compilation
frontend_manager
PUBLIC commonTestUtils)
frontend_manager)
# Protobuf-lite does not support parsing files from prototxt format
# Since most of the onnx models are stored in this format it have to be disabled

View File

@ -2,11 +2,11 @@
// SPDX-License-Identifier: Apache-2.0
//
#include "common_test_utils/ngraph_test_utils.hpp"
#include "gtest/gtest.h"
#include "ngraph/ngraph.hpp"
#include "ngraph/op/util/attr_types.hpp"
#include "ngraph/opsets/opset8.hpp"
#include "util/graph_comparator.hpp"
#include "util/visitor.hpp"
using namespace std;
@ -45,4 +45,4 @@ TEST(attributes, if_op) {
EXPECT_EQ(g_if->get_output_descriptions(1), if_op->get_output_descriptions(1));
EXPECT_TRUE(compare_functions(g_if->get_then_body(), if_op->get_then_body()).first);
EXPECT_TRUE(compare_functions(g_if->get_else_body(), if_op->get_else_body()).first);
}
}