From: Maria Matejka Date: Tue, 3 Dec 2024 19:08:23 +0000 (+0100) Subject: Disabling filter test unless needed protocols are configured X-Git-Tag: v2.17~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67eb38682804b7e9fe9543b2b75cdbfc670cab0d;p=thirdparty%2Fbird.git Disabling filter test unless needed protocols are configured --- diff --git a/filter/Makefile b/filter/Makefile index c20625346..7eaf5ab43 100644 --- a/filter/Makefile +++ b/filter/Makefile @@ -17,7 +17,10 @@ $(o)inst-interpret.c: $(s)decl.m4 $(s)f-inst.c $(objdir)/.dir-stamp prepare: $(o)inst-interpret.c $(o)inst-gen.h -tests_src := tree_test.c filter_test.c trie_test.c +tests_src := tree_test.c trie_test.c +ifeq ($(findstring bgp,$(protocols))-$(findstring static,$(protocols)),bgp-static) + tests_src += filter_test.c +endif tests_targets := $(tests_targets) $(tests-target-files) tests_objs := $(tests_objs) $(src-o-files)