Skip to content

Commit 2683b16

Browse files
committed
make: pass GOFLAGS env variable to test command ran with sudo
Signed-off-by: timbretimber <105982513+timbretimber@users.noreply.github.com>
1 parent 35f5503 commit 2683b16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ update-gomod:
2121

2222
.PHONY: check
2323
check: default
24-
sudo GOENV=$(shell go env GOENV) go test -v ./...
24+
sudo GOENV=$(shell go env GOENV) GOFLAGS=$(GOFLAGS) go test -v ./...
2525

2626
.PHONY: dist
2727
dist:

0 commit comments

Comments
 (0)