aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/build_no_go.txt
blob: 3fd7739fbb94bb714e1b83625fb9380ed4980411 (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
32
33
34
35
36
37
! go build ./empty/test
stderr 'no non-test Go files in '

! go build ./empty/xtest
stderr 'no non-test Go files in '

! go build ./empty/testxtest
stderr 'no non-test Go files in '

! go build ./exclude
stderr 'build constraints exclude all Go files in '

! go build ./exclude/ignore
stderr 'no Go files in '

! go build ./exclude/empty
stderr 'no Go files in '

-- empty/test/test_test.go --
package p
-- empty/testxtest/test_test.go --
package p
-- empty/testxtest/xtest_test.go --
package p_test
-- empty/xtest/xtest_test.go --
package p_test
-- exclude/empty/x.txt --
-- exclude/ignore/_x.go --
package x
-- exclude/x.go --
// +build linux,!linux

package x
-- exclude/x_linux.go --
// +build windows

package x