summaryrefslogtreecommitdiffstats
path: root/build-data/packages/vnet.mk
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2016-04-07 10:04:34 +0200
committerGerrit Code Review <gerrit@fd.io>2016-04-12 11:47:39 +0000
commit254b036dff8ac1ffc663788766de999a2837dc7e (patch)
tree8bb19e5a1d3503cc4c13803c99cd43dc52a8cb22 /build-data/packages/vnet.mk
parent42f2006975c5a0ea58c835df4461213072f8813f (diff)
Add unit test infrastructure for LISP protocol
Change-Id: I802700ad832de1dc6f4a1981e8985aa6e926c8ad Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'build-data/packages/vnet.mk')
-rw-r--r--build-data/packages/vnet.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/build-data/packages/vnet.mk b/build-data/packages/vnet.mk
index 2ff9034a045..46d3c1d42dc 100644
--- a/build-data/packages/vnet.mk
+++ b/build-data/packages/vnet.mk
@@ -18,6 +18,10 @@ vnet_LDFLAGS = $(call installed_libs_fn, \
vlib \
vlib-api)
+ifeq ($($(PLATFORM)_enable_tests),yes)
+vnet_configure_args += --enable-tests
+endif
+
# Platform dependent configure flags
vnet_configure_args += $(vnet_configure_args_$(PLATFORM))