Beware of Go tests! build before you test.

Matt and I were just burned by an issue in running Go tests. We broke juju-core trunk. How? As rogpeppe explains:

go test ./… does not *build* everything. if there’s a package with no tests (which builddb is) it will just be ignored

So, the way I read that is that go test is broken! You have to run this command to actually be sure that your changes are OK.

go build ./... && go test ./...