1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #34492 from AkihiroSuda/fix-integration-cli-on-swarm

Fix `make build-integration-cli-on-swarm`
This commit is contained in:
Daniel Nephin 2017-08-14 12:20:18 -04:00 committed by GitHub
commit 07227a1227
2 changed files with 12 additions and 0 deletions

View file

@ -33,6 +33,10 @@ run_test_integration() {
}
build_test_suite_binaries() {
if [ $DOCKER_INTEGRATION_TESTS_VERIFIED ]; then
echo "Skipping building test binaries; as DOCKER_INTEGRATION_TESTS_VERIFIED is set"
return
fi
build_test_suite_binary ./integration-cli "test.main"
for dir in $integration_api_dirs; do
build_test_suite_binary "$dir" "test.main"

View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
# required by `make build-integration-cli-on-swarm`
set -e
source "${MAKEDIR}/.go-autogen"
source hack/make/.integration-test-helpers
build_test_suite_binaries