From e75690798a01df75ef7b7c857c3e9524d6ad749e Mon Sep 17 00:00:00 2001 From: Gregory Shimansky Date: Tue, 1 Oct 2019 14:59:13 -0500 Subject: [PATCH] Fixed #656. Build tests with tags for BPF and MLX options --- test/stability/testCksum/Makefile | 3 ++- test/stability/testMerge/Makefile | 3 ++- test/stability/testSingleWorkingFF/Makefile | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/test/stability/testCksum/Makefile b/test/stability/testCksum/Makefile index 5c387484..6ead26f9 100644 --- a/test/stability/testCksum/Makefile +++ b/test/stability/testCksum/Makefile @@ -6,7 +6,8 @@ PATH_TO_MK = ../../../mk IMAGENAME = nff-go-test-cksum EXECUTABLES = testCksum +.PHONY: testing testing: check-pktgen - go test -v -test.timeout 15m + go test -v -tags "${GO_BUILD_TAGS}" -test.timeout 15m include $(PATH_TO_MK)/leaf.mk diff --git a/test/stability/testMerge/Makefile b/test/stability/testMerge/Makefile index 84230609..78b08d05 100644 --- a/test/stability/testMerge/Makefile +++ b/test/stability/testMerge/Makefile @@ -9,7 +9,8 @@ EXECUTABLES = testMerge all: cp ../../framework/main/config.json . +.PHONY: testing testing: check-pktgen - go test -v -test.timeout 20m + go test -v -tags "${GO_BUILD_TAGS}" -test.timeout 20m include $(PATH_TO_MK)/leaf.mk diff --git a/test/stability/testSingleWorkingFF/Makefile b/test/stability/testSingleWorkingFF/Makefile index e47f25d1..1cf697d1 100644 --- a/test/stability/testSingleWorkingFF/Makefile +++ b/test/stability/testSingleWorkingFF/Makefile @@ -9,7 +9,8 @@ EXECUTABLES = testSingleWorkingFF all: cp ../../framework/main/config.json . +.PHONY: testing testing: check-pktgen - go test + go test -v -tags "${GO_BUILD_TAGS}" include $(PATH_TO_MK)/leaf.mk