diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh index f9f56337b5..b15a170dcf 100755 --- a/hack/lib/golang.sh +++ b/hack/lib/golang.sh @@ -547,7 +547,7 @@ kube::golang::build_binaries_for_platform() { "${testpkg}" mkdir -p "$(dirname ${outfile})" - go test -c \ + go test -i -c \ "${goflags[@]:+${goflags[@]}}" \ -gcflags "${gogcflags}" \ -ldflags "${goldflags}" \