From c1b8367666924c7eca0a4de51165eb4a585451eb Mon Sep 17 00:00:00 2001 From: Dmitry Smirnov Date: Sun, 14 Jun 2020 21:12:29 +0100 Subject: [PATCH] prevents test-time installation that causes FTBFS. Last-Update: 2018-06-18 Forwarded: not-needed ~~~~ go test net: open /usr/lib/go-1.10/pkg/linux_amd64/net.a: permission denied ~~~~ Gbp-Pq: Name engine-test-noinstall.patch --- engine/hack/test/unit | 4 ---- 1 file changed, 4 deletions(-) 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 \ -- 2.30.2