diff options
author | Bryan C. Mills <bcmills@google.com> | 2024-02-01 15:56:05 -0500 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2024-02-05 14:52:04 +0000 |
commit | e8d87728bd4ac93ed207df1261da673749c6bd0c (patch) | |
tree | 83229be74d64af559dce15fe16e117bfd90c3357 /src/cmd/go/testdata/script/README | |
parent | b8ac61e6e64c92f23d8cf868a92a70d13e20a124 (diff) | |
download | go-e8d87728bd4ac93ed207df1261da673749c6bd0c.tar.gz go-e8d87728bd4ac93ed207df1261da673749c6bd0c.zip |
cmd/go: fix tests that fail when running a cross-compiled GOARCH
In CL 356611 I changed cmd/go to run most of its tests (instead of
skipping them all) when cross-compiled, such as with GOARCH=386 on an
amd64 host. Unfortunately, since we don't have a CI builder that runs
long tests in a cross-compiled configuration, some of the tests have
rotted since then.
This fixes 'GOARCH=386 go test cmd/go' on my workstation.
For #64963.
Updates #53936.
Change-Id: If7f4bc8e8d1ace7d36010d7a1b652fc7b2ceb276
Cq-Include-Trybots: luci.golang.try:gotip-linux-386-longtest,gotip-windows-amd64-longtest
Reviewed-on: https://go-review.googlesource.com/c/go/+/560782
Auto-Submit: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Diffstat (limited to 'src/cmd/go/testdata/script/README')
-rw-r--r-- | src/cmd/go/testdata/script/README | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/script/README b/src/cmd/go/testdata/script/README index 792a158760..39971f8029 100644 --- a/src/cmd/go/testdata/script/README +++ b/src/cmd/go/testdata/script/README @@ -410,6 +410,8 @@ The available conditions are: platform always requires external linking [net:*] can connect to external network host <suffix> +[pielinkext] + platform requires external linking for PIE [race] GOOS/GOARCH supports -race [root] |