aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/cover_pkgall_runtime.txt
blob: 9927c3069070fdeed6712717bc0c222039b07e06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
env GO111MODULE=off

# Issue 23882

[short] skip

go test -coverpkg=all x
stdout ok[\s\S]+?coverage

[!race] stop

go test -coverpkg=all -race x
stdout ok[\s\S]+?coverage

-- x/x.go --
package x
import _ "runtime"
func F() {}

-- x/x_test.go --
package x
import "testing"
func TestF(t *testing.T) { F() }