aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/test_build_failure.txt
blob: 2ae448a566559af6b9440f1acc86701e2970f99a (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

! go test -x coverbad
! stderr '[\\/]coverbad\.test( |$)' # 'go test' should not claim to have run the test.
stderr 'undefined: g'
stderr 'undefined: j'

-- coverbad/p.go --
package p

func f() {
	g()
}
-- coverbad/p1.go --
package p

import "C"

func h() {
	j()
}
-- coverbad/p_test.go --
package p

import "testing"

func Test(t *testing.T) {}