Explorar o código

Merge pull request #33857 from yongtang/33856-make-test-unit

Fix build error for `make test-unit`
Sebastiaan van Stijn %!s(int64=8) %!d(string=hai) anos
pai
achega
3d6ab220db
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      hack/make/test-unit

+ 2 - 0
hack/make/test-unit

@@ -26,6 +26,8 @@ bundle_test_unit() {
 		TEST_PATH=./${TESTDIRS}
 		TEST_PATH=./${TESTDIRS}
 	fi
 	fi
 
 
+	source "${MAKEDIR}/.go-autogen"
+
 	if [ "$(go env GOHOSTOS)" = 'solaris' ]; then
 	if [ "$(go env GOHOSTOS)" = 'solaris' ]; then
 		pkg_list=$(go list -e \
 		pkg_list=$(go list -e \
 			-f '{{if ne .Name "github.com/docker/docker"}}
 			-f '{{if ne .Name "github.com/docker/docker"}}