]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/link/internal/ld: fix GOARCH in TestAbstractOriginSanityIssue25459
authorTobias Klauser <tklauser@distanz.ch>
Fri, 16 Apr 2021 08:15:46 +0000 (10:15 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Fri, 16 Apr 2021 12:28:37 +0000 (12:28 +0000)
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>
src/cmd/link/internal/ld/dwarf_test.go

index 5e4151885ab61d7bca2891fca2b145e0961c825c..e845a95359a46df390e4f573427d3642a9c43b29 100644 (file)
@@ -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 {