Skip to content

Commit 8da507c

Browse files
author
sapcc-bot
committed
Run go-makefile-maker
1 parent 3b55e78 commit 8da507c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ GO_BUILDFLAGS =
3030
GO_LDFLAGS =
3131
GO_TESTENV =
3232
GO_BUILDENV =
33-
TESTBIN=$(shell pwd)/testbin
3433

3534
# which packages to test with test runner
3635
GO_TESTPKGS := $(shell go list -f '{{if or .TestGoFiles .XTestGoFiles}}{{.ImportPath}}{{end}}' ./...)
@@ -58,7 +57,7 @@ run-golangci-lint: FORCE prepare-static-check
5857

5958
build/cover.out: FORCE generate install-setup-envtest | build
6059
@printf "\e[1;36m>> Running tests\e[0m\n"
61-
KUBEBUILDER_ASSETS=$$(setup-envtest use 1.31 --bin-dir $(TESTBIN) -p path) go test -shuffle=on -p 1 -coverprofile=$@ $(GO_BUILDFLAGS) -ldflags '-s -w $(GO_LDFLAGS)' -covermode=count -coverpkg=$(subst $(space),$(comma),$(GO_COVERPKGS)) $(GO_TESTPKGS)
60+
KUBEBUILDER_ASSETS=$$(setup-envtest use 1.31 -p path) go test -shuffle=on -p 1 -coverprofile=$@ $(GO_BUILDFLAGS) -ldflags '-s -w $(GO_LDFLAGS)' -covermode=count -coverpkg=$(subst $(space),$(comma),$(GO_COVERPKGS)) $(GO_TESTPKGS)
6261

6362
build/cover.html: build/cover.out
6463
@printf "\e[1;36m>> go tool cover > build/cover.html\e[0m\n"
@@ -93,7 +92,6 @@ vars: FORCE
9392
@printf "GO_COVERPKGS=$(GO_COVERPKGS)\n"
9493
@printf "GO_LDFLAGS=$(GO_LDFLAGS)\n"
9594
@printf "GO_TESTPKGS=$(GO_TESTPKGS)\n"
96-
@printf "TESTBIN=$(TESTBIN)\n"
9795
help: FORCE
9896
@printf "\n"
9997
@printf "\e[1mUsage:\e[0m\n"

0 commit comments

Comments
 (0)