From d213fb3e02e77cad2bdae2ae547d1b17b923439e Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Tue, 9 Jun 2020 16:37:47 -0400 Subject: [PATCH] makefile: pass -tags to go test lines too I noticed that the make target I use for smoke testing things locally was failing due to new octopus related vars. This was due to the go test lines in the makefile not passing tags for the maximum ceph version. Signed-off-by: John Mulligan --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 65a784c..1e55d94 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ build: fmt: go fmt ./... test: - go test -v ./... + go test -v -tags $(CEPH_VERSION) ./... .PHONY: test-docker test-container test-docker: test-container @@ -83,7 +83,7 @@ test-binaries: \ test-bins: test-binaries %.test: % force_go_build - go test -c ./$< + go test -c -tags $(CEPH_VERSION) ./$< implements: go build -o implements ./contrib/implements