aboutsummaryrefslogtreecommitdiffstats
path: root/test/ext
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2019-12-04 18:29:39 -0500
committerPaul Vinciguerra <pvinci@vinciconsulting.com>2019-12-05 01:23:54 +0000
commite89bfe33ab6783d5e59f2a4756a0364ce03c4bc0 (patch)
tree429b0c11dbac72a6a2fc5ba192cd14db67ae9dfc /test/ext
parent72e7312af04bf8f6ecbc8ce70fe1a6e2ad8852ec (diff)
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
Diffstat (limited to 'test/ext')
-rw-r--r--test/ext/Makefile4
1 files changed, 3 insertions, 1 deletions
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)