Skip to content

Commit

Permalink
doc: update test.md about how to run test
Browse files Browse the repository at this point in the history
Signed-off-by: letty <[email protected]>
  • Loading branch information
Letty5411 committed May 16, 2018
1 parent 48575a9 commit ce976ca
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/test/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,22 @@ GOROOT=/usr/local/go
GOPATH=/go
```

Then copy or clone or link pouch source code to the GOPATH:
Then copy or clone pouch source code to the GOPATH:

```
# pwd
/go/src/github.com/alibaba/pouch
```

The following steps are also needed to make sure libnetwork package could be found:

```
BUILDPATH=/tmp/pouchbuild
mkdir -p $BUILDPATH/src/github.com/docker
cp -r /go/src/github.com/alibaba/pouch/extra/libnetwork $BUILDPATH/src/github.com/docker/libnetwork
export GOPATH=$GOPATH:$BUILDPATH:$BUILDPATH/src/github.com/docker/libnetwork/Godeps/_workspace
```

Now you could run unit test as following:

```
Expand Down

0 comments on commit ce976ca

Please sign in to comment.