build: fix vom_test dependency on EXTENDED_TESTS
- Note: This was not caught by CI because the VPP 'make verify'
target always build libvom.so
Type: fix
Fixes: f0797d130
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Change-Id: I8663e317e4e793c386b09d1cb887133de1e43faf
This commit is contained in:

committed by
Paul Vinciguerra

parent
72e7312af0
commit
e89bfe33ab
@ -46,7 +46,8 @@ $(VAPI_CPPBIN).d: $(CPPSRC) $(VAPI_BINDIR)/fake.api.vapi.hpp
|
||||
$(CXX) -o $@ $(CPPFLAGS) -MM -MT '$(VAPI_CPPBIN)' $(CPPSRC) > $@
|
||||
endif
|
||||
|
||||
ifeq ($(filter yes,$(EXTENDED_TESTS)),$(EXTENDED_TESTS))
|
||||
ifneq ($(EXTENDED_TESTS),)
|
||||
ifeq ($(filter yes y 1,$(EXTENDED_TESTS)),$(EXTENDED_TESTS))
|
||||
VOM_BIN = $(addprefix $(VOM_BINDIR), /vom_test)
|
||||
VOM_CPPSRC = $(TEST_EXT_DIR)/vom_test.cpp
|
||||
|
||||
@ -74,6 +75,7 @@ $(VOM_BIN): $(VOM_CPPSRC) $(VOM_BINDIR)
|
||||
$(VOM_BIN).d: $(VOM_CPPSRC) $(VOM_BINDIR)
|
||||
$(CXX) -o $@ $(VOM_CPPFLAGS) -MM -MT '$(VOM_BIN)' $(VOM_CPPSRC) > $@
|
||||
endif
|
||||
endif
|
||||
|
||||
.PHONY: test-apps
|
||||
test-apps: $(VAPI_CBIN) $(VAPI_CPPBIN) $(VOM_BIN)
|
||||
|
Reference in New Issue
Block a user