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 <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2020-06-09 16:37:47 -04:00 committed by John Mulligan
parent 610c37f05e
commit d213fb3e02
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ build:
fmt: fmt:
go fmt ./... go fmt ./...
test: test:
go test -v ./... go test -v -tags $(CEPH_VERSION) ./...
.PHONY: test-docker test-container .PHONY: test-docker test-container
test-docker: test-container test-docker: test-container
@ -83,7 +83,7 @@ test-binaries: \
test-bins: test-binaries test-bins: test-binaries
%.test: % force_go_build %.test: % force_go_build
go test -c ./$< go test -c -tags $(CEPH_VERSION) ./$<
implements: implements:
go build -o implements ./contrib/implements go build -o implements ./contrib/implements