Descriptioncmd/juju{c,d,}: fix testing issues by using package main
This issue has been biting roger and I for a while. After spending
some time on it today and looking at other examples from the std lib
of testing main packages, it looks like when testing main (ie, from cmd/go)
all the tests run in package main. Our use of main_test appears unique.
https://code.launchpad.net/~dave-cheney/juju/go-cmd-jujud-fix-testing/+merge/107905
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : cmd/juju{c,d,}: fix testing issues by using package main #Patch Set 3 : cmd/juju{c,d,}: fix testing issues by using package main #
MessagesTotal messages: 12
|