integration: Run swarm using go run.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2015-04-18 20:12:48 -07:00
parent eebc06aabe
commit 86ed98baa2
2 changed files with 1 additions and 7 deletions

View File

@ -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

View File

@ -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.