summaryrefslogtreecommitdiff
path: root/0005-remove-grpc-test.patch
diff options
context:
space:
mode:
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