Go testsuite: handle +build lines correctly
Update the Go testsuite driver to handle +build lines as is done in the upstream repo, and update some tests to the upstream repo copy using +build lines with "gc" and "!gccgo" as appropriate. * go.test/go-test.exp (go-set-goos): New procedure. (go-gc-match): New procedure. (go-gc-tests): Call go-set-goos. Use go-gc-match to handle +build lines. Look for +build lines beyond first line of file.
Showing
- gcc/testsuite/go.test/go-test.exp 102 additions, 45 deletionsgcc/testsuite/go.test/go-test.exp
- gcc/testsuite/go.test/test/fixedbugs/bug302.go 1 addition, 1 deletiongcc/testsuite/go.test/test/fixedbugs/bug302.go
- gcc/testsuite/go.test/test/fixedbugs/bug369.go 1 addition, 1 deletiongcc/testsuite/go.test/test/fixedbugs/bug369.go
- gcc/testsuite/go.test/test/fixedbugs/issue10607.go 1 addition, 1 deletiongcc/testsuite/go.test/test/fixedbugs/issue10607.go
- gcc/testsuite/go.test/test/fixedbugs/issue11771.go 1 addition, 1 deletiongcc/testsuite/go.test/test/fixedbugs/issue11771.go
- gcc/testsuite/go.test/test/fixedbugs/issue13268.go 1 addition, 0 deletionsgcc/testsuite/go.test/test/fixedbugs/issue13268.go
- gcc/testsuite/go.test/test/fixedbugs/issue14636.go 1 addition, 1 deletiongcc/testsuite/go.test/test/fixedbugs/issue14636.go
- gcc/testsuite/go.test/test/fixedbugs/issue16037_run.go 1 addition, 1 deletiongcc/testsuite/go.test/test/fixedbugs/issue16037_run.go
- gcc/testsuite/go.test/test/fixedbugs/issue19658.go 1 addition, 1 deletiongcc/testsuite/go.test/test/fixedbugs/issue19658.go
- gcc/testsuite/go.test/test/fixedbugs/issue21317.go 1 addition, 5 deletionsgcc/testsuite/go.test/test/fixedbugs/issue21317.go
- gcc/testsuite/go.test/test/fixedbugs/issue21576.go 1 addition, 1 deletiongcc/testsuite/go.test/test/fixedbugs/issue21576.go
- gcc/testsuite/go.test/test/fixedbugs/issue22660.go 1 addition, 5 deletionsgcc/testsuite/go.test/test/fixedbugs/issue22660.go
- gcc/testsuite/go.test/test/fixedbugs/issue33275_run.go 1 addition, 1 deletiongcc/testsuite/go.test/test/fixedbugs/issue33275_run.go
- gcc/testsuite/go.test/test/fixedbugs/issue33555.go 1 addition, 1 deletiongcc/testsuite/go.test/test/fixedbugs/issue33555.go
- gcc/testsuite/go.test/test/fixedbugs/issue36437.go 1 addition, 1 deletiongcc/testsuite/go.test/test/fixedbugs/issue36437.go
- gcc/testsuite/go.test/test/fixedbugs/issue9355.go 1 addition, 5 deletionsgcc/testsuite/go.test/test/fixedbugs/issue9355.go
- gcc/testsuite/go.test/test/fixedbugs/issue9862_run.go 1 addition, 1 deletiongcc/testsuite/go.test/test/fixedbugs/issue9862_run.go
- gcc/testsuite/go.test/test/run.go 1 addition, 1 deletiongcc/testsuite/go.test/test/run.go
Loading
Please register or sign in to comment