Add configure option to enable building unit tests
Same template should be used for other libs... Change-Id: Icc771cb6b243d215f30fb51c0dbc028e497a74c6 Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:

committed by
Gerrit Code Review

parent
dba76f29e6
commit
c47e979674
@ -1,2 +1,5 @@
|
||||
# nothing
|
||||
|
||||
ifeq ($($(PLATFORM)_enable_tests),yes)
|
||||
vppinfra_configure_args += --enable-tests
|
||||
endif
|
||||
|
||||
|
@ -17,6 +17,9 @@ vpp_native_tools = vppapigen
|
||||
|
||||
vpp_uses_dpdk = yes
|
||||
|
||||
# Uncoment to enable building unit tests
|
||||
# vpp_enable_tests = yes
|
||||
|
||||
vpp_root_packages = vpp vlib vlib-api vnet svm vpp-api-test \
|
||||
vpp-japi gmod
|
||||
|
||||
|
Reference in New Issue
Block a user