From: Arnaud Rebillout Date: Wed, 4 Sep 2019 07:54:29 +0000 (+0100) Subject: engine-test-noinstall X-Git-Tag: archive/raspbian/18.09.9+dfsg1-5+rpi1~1^2^2~20 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=44e93cc1a632eeaf0430975d7afc42c505febd42;p=docker.io.git engine-test-noinstall ~~~~ go test net: open /usr/lib/go-1.10/pkg/linux_amd64/net.a: permission denied ~~~~ Gbp-Pq: Name engine-test-noinstall.patch --- diff --git a/engine/hack/test/unit b/engine/hack/test/unit index d0e85f1a..ac27f68c 100755 --- a/engine/hack/test/unit +++ b/engine/hack/test/unit @@ -19,10 +19,6 @@ TESTDIRS="${TESTDIRS:-"./..."}" exclude_paths="/vendor/|/integration" pkg_list=$(go list $TESTDIRS | grep -vE "($exclude_paths)") -# install test dependencies once before running tests for each package. This -# significantly reduces the runtime. -go test -i "${BUILDFLAGS[@]}" $pkg_list - for pkg in $pkg_list; do go test "${BUILDFLAGS[@]}" \ -cover \