1[short] skip 2 3! go test -x coverbad 4! stderr '[\\/]coverbad\.test( |$)' # 'go test' should not claim to have run the test. 5stderr 'undefined: g' 6[cgo] stderr 'undefined: j' 7 8-- go.mod -- 9module coverbad 10 11go 1.16 12-- p.go -- 13package p 14 15func f() { 16 g() 17} 18-- p1.go -- 19package p 20 21import "C" 22 23func h() { 24 j() 25} 26-- p_test.go -- 27package p 28 29import "testing" 30 31func Test(t *testing.T) {}