summaryrefslogtreecommitdiff
path: root/0005-remove-grpc-test.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-02-13 20:17:50 +0000
committerCoprDistGit <infra@openeuler.org>2025-02-13 20:17:50 +0000
commitbe9728dedbb0a437fd97f87eda7f65c88effac9c (patch)
tree438a4cbd585808a795a903b04f274aa56e4b6f87 /0005-remove-grpc-test.patch
parent74b276f1eec3704c64511dbd5b2173a7eb6fef22 (diff)
automatic import of frr
Diffstat (limited to '0005-remove-grpc-test.patch')
-rw-r--r--0005-remove-grpc-test.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/0005-remove-grpc-test.patch b/0005-remove-grpc-test.patch
new file mode 100644
index 0000000..148c1ea
--- /dev/null
+++ b/0005-remove-grpc-test.patch
@@ -0,0 +1,27 @@
+diff --git a/tests/lib/subdir.am b/tests/lib/subdir.am
+index 7b5eaa4..5c82f69 100644
+--- a/tests/lib/subdir.am
++++ b/tests/lib/subdir.am
+@@ -18,22 +18,6 @@ tests_lib_test_frrscript_SOURCES = tests/lib/test_frrscript.c
+ test -e tests/lib/script1.lua || \
+ $(INSTALL_SCRIPT) $< tests/lib/script1.lua
+
+-##############################################################################
+-GRPC_TESTS_LDADD = mgmtd/libmgmt_be_nb.la staticd/libstatic.a grpc/libfrrgrpc_pb.la $(GRPC_LIBS) $(ALL_TESTS_LDADD) $(LIBYANG_LIBS) -lm
+-
+-if GRPC
+-check_PROGRAMS += tests/lib/test_grpc
+-endif
+-tests_lib_test_grpc_CXXFLAGS = $(WERROR) $(TESTS_CXXFLAGS)
+-tests_lib_test_grpc_CPPFLAGS = $(TESTS_CPPFLAGS)
+-tests_lib_test_grpc_LDADD = $(GRPC_TESTS_LDADD)
+-tests_lib_test_grpc_SOURCES = tests/lib/test_grpc.cpp
+-nodist_tests_lib_test_grpc_SOURCES = \
+- yang/frr-bfdd.yang.c \
+- yang/frr-staticd.yang.c \
+- # end
+-
+-
+ ##############################################################################
+ if ZEROMQ
+ check_PROGRAMS += tests/lib/test_zmq