| [exec:bzr] skip 'tests NOT having bzr' | |
| [!net] skip | |
| env GO111MODULE=on | |
| env GOPROXY=direct | |
| cd empty | |
| ! go get -d launchpad.net/gocheck | |
| stderr '"bzr": executable file not found' | |
| cd .. | |
| # 1.11 used to give the cryptic error "cannot find module for path" here, but | |
| # only for a main package. | |
| cd main | |
| ! go build -mod=mod | |
| stderr '"bzr": executable file not found' | |
| cd .. | |
| -- empty/go.mod -- | |
| module m | |
| -- main/go.mod -- | |
| module m | |
| -- main/main.go -- | |
| package main | |
| import _ "launchpad.net/gocheck" | |
| func main() {} |