Merge pull request #7003 from justinsb/easier_go_test

Simplify `go test` command
This commit is contained in:
Kubernetes Prow Robot 2019-06-20 12:23:59 -07:00 committed by GitHub
commit 55f5cb61dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -39,7 +39,6 @@ BAZELIMAGES=$(BAZELDIST)/images
BAZELUPLOAD=$(BAZELBUILD)/upload
UID:=$(shell id -u)
GID:=$(shell id -g)
TESTABLE_PACKAGES:=$(shell egrep -v "k8s.io/kops/vendor" hack/.packages)
BAZEL_OPTIONS?=
API_OPTIONS?=
GCFLAGS?=
@ -239,7 +238,7 @@ hooks: # Install Git hooks
.PHONY: test
test: ${BINDATA_TARGETS} # Run tests locally
go test -v ${TESTABLE_PACKAGES}
go test -v ./...
.PHONY: ${DIST}/linux/amd64/nodeup
${DIST}/linux/amd64/nodeup: ${BINDATA_TARGETS}