From e1f4feb3d652d90834974608bb1e83d161e88325 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 16 Apr 2021 10:15:46 +0200 Subject: [PATCH] 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 Run-TryBot: Tobias Klauser TryBot-Result: Go Bot Reviewed-by: Than McIntosh --- src/cmd/link/internal/ld/dwarf_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/link/internal/ld/dwarf_test.go b/src/cmd/link/internal/ld/dwarf_test.go index 5e4151885a..e845a95359 100644 --- a/src/cmd/link/internal/ld/dwarf_test.go +++ b/src/cmd/link/internal/ld/dwarf_test.go @@ -868,8 +868,8 @@ func TestAbstractOriginSanityIssue25459(t *testing.T) { if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" || runtime.GOOS == "darwin" { t.Skip("skipping on solaris, illumos, and darwin, pending resolution of issue #23168") } - if runtime.GOARCH != "amd64" && runtime.GOARCH != "x86" { - t.Skip("skipping on not-amd64 not-x86; location lists not supported") + if runtime.GOARCH != "amd64" && runtime.GOARCH != "386" { + t.Skip("skipping on not-amd64 not-386; location lists not supported") } if wd, err := os.Getwd(); err == nil { -- 2.48.1