From 07a084f921cc7ce53123df20588e44a7606f3b0f Mon Sep 17 00:00:00 2001 From: Christian Hopps Date: Fri, 17 May 2024 00:54:20 -0400 Subject: [PATCH] tests: embed YANG in mgmtd unit-test bin `make check` should run w/o installing FRR first. Thus we need to embed the yang modules otherwise mgmtd unit-test fails. Signed-off-by: Christian Hopps --- tests/lib/subdir.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/lib/subdir.am b/tests/lib/subdir.am index 94df3626d6..185b895079 100644 --- a/tests/lib/subdir.am +++ b/tests/lib/subdir.am @@ -34,6 +34,10 @@ 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 ############################################################################## -- 2.39.5