src/cmd/go/testdata/script/mod_list_compiled_concurrent.txt
raw| 1 | env GO111MODULE=on |
| 2 | |
| 3 | [short] skip |
| 4 | [!cgo] skip |
| 5 | |
| 6 | # Regression test for golang.org/issue/29667: |
| 7 | # spurious 'failed to cache compiled Go files' errors. |
| 8 | |
| 9 | env GOCACHE=$WORK/gocache |
| 10 | mkdir $GOCACHE |
| 11 | |
| 12 | go list -json -compiled -test=false -export=false -deps=true -- . & |
| 13 | go list -json -compiled -test=false -export=false -deps=true -- . & |
| 14 | wait |
| 15 | |
| 16 | -- go.mod -- |
| 17 | module sandbox/bar |
| 18 | -- bar.go -- |
| 19 | package bar |
| 20 | |
| 21 | import "C" |