Merge pull request #9356 from mkumatag/fix_gopath

test, build: Fix gopath creation
This commit is contained in:
Gyuho Lee
2018-02-26 07:38:22 -08:00
committed by GitHub
2 changed files with 46 additions and 1 deletions

6
test
View File

@@ -16,6 +16,10 @@ set -e
source ./build
if [[ "${ETCD_SETUP_GOPATH}" == "1" ]]; then
etcd_setup_gopath
fi
# build before setting up test GOPATH
if [[ "${PASSES}" == *"functional"* ]]; then
./tools/functional-tester/build
@@ -542,7 +546,7 @@ function build_cov_pass {
function compile_pass {
echo "Checking build..."
go build -v ./tools/...
GO_BUILD_FLAGS="-a -v" tools_build
}
# fail fast on static tests