summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)