mirror of https://github.com/ceph/go-ceph
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:
parent
610c37f05e
commit
d213fb3e02
4
Makefile
4
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue