Text file
src/cmd/go/testdata/script/mod_list_compiled_concurrent.txt
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 # This test failed reliably when run with -count=10
9 # on a Linux workstation.
10
11 env GOCACHE=$WORK/gocache
12 mkdir $GOCACHE
13
14 go list -json -compiled -test=false -export=false -deps=true -- . &
15 go list -json -compiled -test=false -export=false -deps=true -- . &
16 go list -json -compiled -test=false -export=false -deps=true -- . &
17 go list -json -compiled -test=false -export=false -deps=true -- . &
18 go list -json -compiled -test=false -export=false -deps=true -- . &
19 go list -json -compiled -test=false -export=false -deps=true -- . &
20 go list -json -compiled -test=false -export=false -deps=true -- . &
21 go list -json -compiled -test=false -export=false -deps=true -- . &
22 go list -json -compiled -test=false -export=false -deps=true -- . &
23 go list -json -compiled -test=false -export=false -deps=true -- . &
24 go list -json -compiled -test=false -export=false -deps=true -- . &
25 go list -json -compiled -test=false -export=false -deps=true -- . &
26 go list -json -compiled -test=false -export=false -deps=true -- . &
27 go list -json -compiled -test=false -export=false -deps=true -- . &
28 go list -json -compiled -test=false -export=false -deps=true -- . &
29 go list -json -compiled -test=false -export=false -deps=true -- . &
30 go list -json -compiled -test=false -export=false -deps=true -- . &
31 go list -json -compiled -test=false -export=false -deps=true -- . &
32 go list -json -compiled -test=false -export=false -deps=true -- . &
33 go list -json -compiled -test=false -export=false -deps=true -- . &
34
35 wait
36
37 -- go.mod --
38 module sandbox/bar
39 -- bar.go --
40 package bar
41
42 import "C"
43
View as plain text