From e89bfe33ab6783d5e59f2a4756a0364ce03c4bc0 Mon Sep 17 00:00:00 2001 From: Dave Wallace Date: Wed, 4 Dec 2019 18:29:39 -0500 Subject: 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 Change-Id: I8663e317e4e793c386b09d1cb887133de1e43faf --- test/ext/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/ext/Makefile b/test/ext/Makefile index cbb706528e2..c89764ecb0b 100644 --- a/test/ext/Makefile +++ b/test/ext/Makefile @@ -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) -- cgit 1.2.3-korg