diff --git a/test/integration/README.md b/test/integration/README.md index 696a6db9c7..2a0a71ab83 100644 --- a/test/integration/README.md +++ b/test/integration/README.md @@ -21,12 +21,6 @@ Start by [installing] (https://github.com/sstephenson/bats#installing-bats-from-source) *bats* on your system. -The tests expect the *swarm* binary to be built and located at the root -directory of the repo: -``` -$ godep go build -``` - In order to run all integration tests, pass *bats* the test path: ``` $ bats test/integration diff --git a/test/integration/helpers.bash b/test/integration/helpers.bash index f976cb5829..9984afe13a 100644 --- a/test/integration/helpers.bash +++ b/test/integration/helpers.bash @@ -22,7 +22,7 @@ function join() { # Run the swarm binary. function swarm() { - ${SWARM_ROOT}/swarm "$@" + godep go run "${SWARM_ROOT}/main.go" "$@" } # Waits until the given docker engine API becomes reachable.