$(if $(wildcard startup.vpp),"exec startup.vpp",) \
} \
$(if $(DPDK_CONFIG), "dpdk { $(DPDK_CONFIG) }",) \
+$(if $(EXTRA_VPP_CONFIG), "$(EXTRA_VPP_CONFIG)",) \
$(call disable_plugins,$(DISABLED_PLUGINS)) \
"
DEB_DEPENDS += nasm
DEB_DEPENDS += iperf ethtool # for 'make test TEST=vm_vpp_interfaces'
DEB_DEPENDS += libpcap-dev
+DEB_DEPENDS += tshark
LIBFFI=libffi6 # works on all but 20.04 and debian-testing
endif
ifeq ($(findstring y,$(UNATTENDED)),y)
+DEBIAN_FRONTEND=noninteractive
CONFIRM=-y
FORCE=--allow-downgrades --allow-remove-essential --allow-change-held-packages
endif
.PHONY: test
test:
+ifeq ($(CC),cc)
+ $(eval CC=clang)
+endif
$(call test,vpp,test)
.PHONY: test-debug
test-debug:
+ifeq ($(CC),cc)
+ $(eval CC=clang)
+endif
$(call test,vpp_debug,test)
.PHONY: test-cov