| 1 |
[exec:bzr] skip 'tests NOT having bzr' |
| 2 |
[!net:launchpad.net] skip |
| 3 |
|
| 4 |
env GO111MODULE=on |
| 5 |
env GOPROXY=direct |
| 6 |
|
| 7 |
cd empty |
| 8 |
! go get launchpad.net/gocheck |
| 9 |
stderr '"bzr": executable file not found' |
| 10 |
cd .. |
| 11 |
|
| 12 |
# 1.11 used to give the cryptic error "cannot find module for path" here, but |
| 13 |
# only for a main package. |
| 14 |
cd main |
| 15 |
! go build -mod=mod |
| 16 |
stderr '"bzr": executable file not found' |
| 17 |
cd .. |
| 18 |
|
| 19 |
-- empty/go.mod -- |
| 20 |
module m |
| 21 |
-- main/go.mod -- |
| 22 |
module m |
| 23 |
-- main/main.go -- |
| 24 |
package main |
| 25 |
|
| 26 |
import _ "launchpad.net/gocheck" |
| 27 |
|
| 28 |
func main() {} |