X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=Makefile;h=4b7170d27ff0ece0e60be1826309cc8f4ea652b0;hb=9876520f9ba746ed4d9923f392911c4f1888a105;hp=912ad1a987b32a439ce50c9c021aee901682e7a4;hpb=f56b77a0764222cc45a9df572df901067a273356;p=vpp.git diff --git a/Makefile b/Makefile index 912ad1a987b..4b7170d27ff 100644 --- a/Makefile +++ b/Makefile @@ -189,9 +189,10 @@ build-vpp-api: $(BR)/.bootstrap.ok $(call make,$(PLATFORM)_debug,vpp-api-install) define test - @sudo make -C test \ + @make -C test \ VPP_TEST_BIN=$(BR)/install-$(1)-native/vpp/bin/vpp \ VPP_TEST_API_TEST_BIN=$(BR)/install-$(1)-native/vpp-api-test/bin/vpp_api_test \ + VPP_TEST_PLUGIN_PATH=$(BR)/install-$(1)-native/plugins/lib64/vpp_plugins \ V=$(V) TEST=$(TEST) endef @@ -199,14 +200,14 @@ test: ifeq ($(OS_ID),ubuntu) @sudo -E apt-get $(CONFIRM) $(FORCE) install python-dev python-scapy endif - @make -C $(BR) PLATFORM=vpp_lite TAG=vpp_lite vpp-install vpp-api-test-install + @make -C $(BR) PLATFORM=vpp_lite TAG=vpp_lite plugins-install vpp-install vpp-api-test-install $(call test,vpp_lite) test-debug: ifeq ($(OS_ID),ubuntu) @sudo -E apt-get $(CONFIRM) $(FORCE) install python-dev python-scapy endif - @make -C $(BR) PLATFORM=vpp_lite TAG=vpp_lite_debug vpp-install vpp-api-test-install + @make -C $(BR) PLATFORM=vpp_lite TAG=vpp_lite_debug plugins-install vpp-install vpp-api-test-install $(call test,vpp_lite_debug) retest: