From 14d51b8176d0828041d09bc5f43ff79a7153b053 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sep 01 2019 21:05:47 +0000 Subject: Use --with-tests when running checks also. Tests will be missed if they are in the same package as a main package. --- diff --git a/bin/go-rpm-integration b/bin/go-rpm-integration index 8a0f6b2..f6d3a52 100755 --- a/bin/go-rpm-integration +++ b/bin/go-rpm-integration @@ -391,7 +391,7 @@ GOPATH="${sourcedir}" GO111MODULE=off \ checks() { local goipath="${1}" GOPATH="${workroot}${GOPATH+:${GOPATH}}" GO111MODULE=off \ - golist --provided --tests --package-path ${goipath} $(expandflags) |\ + golist --provided --with-tests --package-path ${goipath} $(expandflags) |\ while read -r -d $'\n' dir ; do pushd "${workroot}/src/${dir}" >/dev/null echo "${dir}"