mirror of https://github.com/docker/docs.git
integration: Run swarm using go run.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
eebc06aabe
commit
86ed98baa2
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue