Merge pull request #41597 from cpuguy83/gocache

Pass through GOCACHE to test_env
This commit is contained in:
Sebastiaan van Stijn 2020-10-28 09:24:10 +01:00 committed by GitHub
commit a66aa12f69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,7 @@ source "${MAKEDIR}/.go-autogen"
: "${TEST_REPEAT:=1}"
: "${TESTFLAGS:=}"
: "${TESTDEBUG:=}"
: "${GOCACHE:=$(go env GOCACHE)}"
setup_integration_test_filter() {
if [ -z "${TEST_FILTER}" ]; then
@ -149,6 +150,7 @@ test_env() {
DOCKER_REMOTE_DAEMON="$DOCKER_REMOTE_DAEMON" \
DOCKER_ROOTLESS="$DOCKER_ROOTLESS" \
DOCKERFILE="$DOCKERFILE" \
GOCACHE="$GOCACHE" \
GOPATH="$GOPATH" \
GOTRACEBACK=all \
HOME="$ABS_DEST/fake-HOME" \