...
1[!race] skip
2
3cd $GOPATH/src/empty/pkg
4go test -cover -coverpkg=. -race
5
6[short] stop # Only run first case in short mode
7
8cd $GOPATH/src/empty/test
9go test -cover -coverpkg=. -race
10
11cd $GOPATH/src/empty/xtest
12go test -cover -coverpkg=. -race
13
14cd $GOPATH/src/empty/pkgtest
15go test -cover -coverpkg=. -race
16
17cd $GOPATH/src/empty/pkgxtest
18go test -cover -coverpkg=. -race
19
20cd $GOPATH/src/empty/pkgtestxtest
21go test -cover -coverpkg=. -race
22
23cd $GOPATH/src/empty/testxtest
24go test -cover -coverpkg=. -race
25
26-- empty/go.mod --
27module empty
28
29go 1.16
30-- empty/pkg/pkg.go --
31package p
32-- empty/pkgtest/pkg.go --
33package p
34-- empty/pkgtest/test_test.go --
35package p
36-- empty/pkgtestxtest/pkg.go --
37package p
38-- empty/pkgtestxtest/test_test.go --
39package p
40-- empty/pkgtestxtest/xtest_test.go --
41package p_test
42-- empty/pkgxtest/pkg.go --
43package p
44-- empty/pkgxtest/xtest_test.go --
45package p_test
46-- empty/test/test_test.go --
47package p
48-- empty/testxtest/test_test.go --
49package p
50-- empty/testxtest/xtest_test.go --
51package p_test
52-- empty/xtest/xtest_test.go --
53package p_test
View as plain text