1
0
mirror of https://github.com/golang/go synced 2024-11-26 06:27:58 -07:00

cmd/link/internal/ld: fix GOARCH in TestAbstractOriginSanityIssue25459

There is no x86 GOARCH, this should likely be 386.

Change-Id: I16f1cf5edb0cce156d42ecb621b2ae481c8f1789
Reviewed-on: https://go-review.googlesource.com/c/go/+/308995
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
This commit is contained in:
Tobias Klauser 2021-04-16 10:15:46 +02:00 committed by Tobias Klauser
parent d26fc68aa1
commit e1f4feb3d6

View File

@ -868,8 +868,8 @@ func TestAbstractOriginSanityIssue25459(t *testing.T) {
if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" || runtime.GOOS == "darwin" { if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" || runtime.GOOS == "darwin" {
t.Skip("skipping on solaris, illumos, and darwin, pending resolution of issue #23168") t.Skip("skipping on solaris, illumos, and darwin, pending resolution of issue #23168")
} }
if runtime.GOARCH != "amd64" && runtime.GOARCH != "x86" { if runtime.GOARCH != "amd64" && runtime.GOARCH != "386" {
t.Skip("skipping on not-amd64 not-x86; location lists not supported") t.Skip("skipping on not-amd64 not-386; location lists not supported")
} }
if wd, err := os.Getwd(); err == nil { if wd, err := os.Getwd(); err == nil {