aboutsummaryrefslogtreecommitdiffstats
path: root/build-data/packages/vnet.mk
diff options
context:
space:
mode:
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))