aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/cover_dash_c.txt
blob: 61793cec4917527d8b99dea5764542f5dccc3371 (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
[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

-- coverdep/p.go --
package p

import _ "coverdep/p1"

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

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

import "testing"

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