Skip to content

Commit

Permalink
Disabling filter test unless needed protocols are configured
Browse files Browse the repository at this point in the history
  • Loading branch information
marenamat authored and Ondrej Zajicek committed Dec 17, 2024
1 parent 8d062e9 commit 67eb386
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion filter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 67eb386

Please sign in to comment.