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

Fix build error for `make test-unit`
This commit is contained in:
Sebastiaan van Stijn 2017-06-28 00:31:42 -07:00 committed by GitHub
commit 3d6ab220db
1 changed files with 2 additions and 0 deletions

View File

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