diff options
author | Klement Sekera <ksekera@cisco.com> | 2017-09-29 12:36:37 +0200 |
---|---|---|
committer | Klement Sekera <ksekera@cisco.com> | 2017-09-29 12:59:19 +0200 |
commit | d3e671e0dbb879d90f00bdee608ee0bb5f6357ae (patch) | |
tree | eec07bfa10a2789a469c8d629104173bef4a39bf /test/ext/Makefile | |
parent | 0ff5c563d5048991dbd02a3892dccde8305a7e30 (diff) |
make test: fix/disable VAPI tests on centos
Workaround old `check' library on centos.
Disable building/running of C++ VAPI test as centos's gcc can't compile
our C++ code (vapi.hpp) due to bug.
Change-Id: If9da9c7f1bc076f7cdfb9bd3016dfe60a08afa36
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/ext/Makefile')
-rw-r--r-- | test/ext/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ext/Makefile b/test/ext/Makefile index 6b3cb907f76..6436302f731 100644 --- a/test/ext/Makefile +++ b/test/ext/Makefile @@ -2,6 +2,10 @@ BINDIR = $(BR)/vapi_test/ CBIN = $(addprefix $(BINDIR), vapi_c_test) CPPBIN = $(addprefix $(BINDIR), vapi_cpp_test) +ifeq ($(filter centos,$(OS_ID)),$(OS_ID)) +CPPBIN= +endif + LIBS = -L$(VPP_TEST_BUILD_DIR)/vpp/.libs/ -L$(VPP_TEST_BUILD_DIR)/vpp/vpp-api/vapi/.libs/ -lvppinfra -lvlibmemoryclient -lsvm -lpthread -lcheck -lsubunit -lrt -lm -lvapiclient CFLAGS = -std=gnu99 -g -Wall -pthread -I$(WS_ROOT)/src -I$(VPP_TEST_INSTALL_PATH)/vpp/include -I$(BINDIR) CPPFLAGS = -std=c++11 -g -Wall -pthread -I$(WS_ROOT)/src -I$(VPP_TEST_INSTALL_PATH)/vpp/include -I$(BINDIR) |