Add more verbosity to Go tests in CI

pull/10616/head
Edd Robinson 2018-12-05 18:36:19 +00:00
parent aa936df138
commit 170aaafa46
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ GO_ARGS=-tags '$(GO_TAGS)'
# Test vars can be used by all recursive Makefiles
export GOOS=$(shell go env GOOS)
export GO_BUILD=env GO111MODULE=on go build $(GO_ARGS)
export GO_TEST=env GO111MODULE=on go test $(GO_ARGS)
export GO_TEST=env GOTRACEBACK=all GO111MODULE=on go test $(GO_ARGS)
# Do not add GO111MODULE=on to the call to go generate so it doesn't pollute the environment.
export GO_GENERATE=go generate $(GO_ARGS)
export GO_VET=env GO111MODULE=on go vet $(GO_ARGS)
@ -120,7 +120,7 @@ test-integration:
test: test-go test-js
test-go-race:
$(GO_TEST) -race -count=1 ./...
$(GO_TEST) -v -race -count=1 ./...
vet:
$(GO_VET) -v ./...