diff options
author | Ian Lance Taylor <iant@golang.org> | 2020-12-17 21:33:51 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2020-12-17 21:35:25 -0800 |
commit | dc00689332f023d959a8e9f01368f59b756a7017 (patch) | |
tree | 9ff4375c067bf5455161a072e34810b335b0c478 /gcc/go | |
parent | ddb9c661c2f1040a2fe569098fce09f44ab05b52 (diff) | |
download | gcc-dc00689332f023d959a8e9f01368f59b756a7017.zip gcc-dc00689332f023d959a8e9f01368f59b756a7017.tar.gz gcc-dc00689332f023d959a8e9f01368f59b756a7017.tar.bz2 |
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.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions