Fix make build-integration-cli-on-swarm

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
Akihiro Suda 2017-08-12 06:19:12 +00:00
parent f34e4d295d
commit 2fddf9f6ef
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