Descriptiontesting: import test only deps
This proposal makes it possible to get all the deps required to
build and *test* Juju using these simple steps. This is intended to
support running a CI build of Juju.
sudo apt-get install gcc golang-go bzr libzookeeper-mt-dev mongodb-server zookeeperd zip -y
export GOPATH=$HOME
go get -v launchpad.net/juju-core/cmd/juju
go test launchpad.net/juju-core/...
Currently this procedure fails because go get doens't resolve these two
pkgs because they are only visible from the testing path.
src/launchpad.net/juju-core/testing/http.go:7:2: import "launchpad.net/gocheck": cannot find package
src/launchpad.net/juju-core/store/lpad.go:7:2: import "launchpad.net/lpad": cannot find package
https://code.launchpad.net/~dave-cheney/juju-core/083-testing-import-test-only-packages/+merge/122187
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : testing: import test only deps #Patch Set 3 : testing: import test only deps #
Total comments: 1
MessagesTotal messages: 4
|