mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #9356 from mkumatag/fix_gopath
test, build: Fix gopath creation
This commit is contained in:
6
test
6
test
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user