aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/cover_dash_c.txt
blob: 8950f8d088e747e13de82f0dce86a630217eab48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[short] skip
[gccgo] skip

# Test for issue 24588

go test -c -o $WORK/coverdep -coverprofile=$WORK/no/such/dir/cover.out coverdep
exists -exec $WORK/coverdep

-- go.mod --
module coverdep

go 1.16
-- p.go --
package p

import _ "coverdep/p1"

func F() {
}
-- p1/p1.go --
package p1

import _ "errors"
-- p_test.go --
package p

import "testing"

func Test(t *testing.T) {
	F()
}