From adf44f2a5eeb056c5fece0454d3e09d08df160fe Mon Sep 17 00:00:00 2001 From: Andrej Kozemcak Date: Tue, 28 May 2019 10:19:21 +0200 Subject: [TEST] - Initialize to use of YDK in sweetcomb test - remove netopeer client - use YDK - check result, assert when error Change-Id: Icb29dd5a35e8f7dbbeff2e44ec088b890f93b5ef Signed-off-by: Andrej Kozemcak --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e49928c..564d084 100644 --- a/Makefile +++ b/Makefile @@ -90,7 +90,7 @@ RPM_GNMI_DEPENDS = pugixml jsoncpp libtool pugixml-devel jsoncpp-devel ${GRPC_RP .PHONY: help install-dep install-dep-extra install-vpp install-models uninstall-models \ install-dep-gnmi-extra build-scvpp build-plugins build-gnmi build-package docker \ - docker-test clean distclean _clean_dl _libssh _libyang _libnetconf2 _sysrepo _netopeer2 + docker-test test clean distclean _clean_dl _libssh _libyang _libnetconf2 _sysrepo _netopeer2 help: @echo "Make Targets:" @@ -103,6 +103,7 @@ help: @echo " build-scvpp - build scvpp" @echo " test-scvpp - unit test for scvpp" @echo " build-plugins - build plugins" + @echo " test-plugins - integration test for sweetcomb plugins" @echo " build-gnmi - build gNMIServer" @echo " build-package - build rpm or deb package" @echo " docker - build sweetcomb in docker enviroment, with optional arguments :" @@ -247,6 +248,9 @@ build-plugins: make install @# NEW INSTRUCTIONS TO BUILD-PLUGINS MUST BE DECLARED ON A NEW LINE WITH '@' +test-plugins: + @test/run_test.py + build-gnmi: @mkdir -p $(BR)/build-gnmi/; cd $(BR)/build-gnmi/; \ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=/usr $(WS_ROOT)/src/gnmi/;make; \ -- cgit 1.2.3-korg