projects
/
docker.io.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce71afd
)
engine-test-noinstall
author
Dmitry Smirnov
<onlyjob@debian.org>
Sat, 26 Jan 2019 01:54:38 +0000
(
01:54
+0000)
committer
Peter Michael Green
<plugwash@raspbian.org>
Sat, 26 Jan 2019 01:54:38 +0000
(
01:54
+0000)
~~~~
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
patch
|
blob
|
history
diff --git
a/engine/hack/test/unit
b/engine/hack/test/unit
index d0e85f1ad144f91d13df470211537235f13924c0..ac27f68c309da93b07327d460218721815dc50b2 100755
(executable)
--- 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 \