diff --git a/internal/binutils/binutils_test.go b/internal/binutils/binutils_test.go index 888a21f91..538b1efca 100644 --- a/internal/binutils/binutils_test.go +++ b/internal/binutils/binutils_test.go @@ -217,8 +217,8 @@ func testDisasm(t *testing.T, intelSyntax bool) { } func TestDisasm(t *testing.T) { - if runtime.GOOS != "linux" && runtime.GOOS != "darwin" { - t.Skip("This test only works on Linux or macOS") + if runtime.GOARCH != "amd64" || (runtime.GOOS != "linux" && runtime.GOOS != "darwin") { + t.Skip("This test only works on x86-64 Linux or macOS") } testDisasm(t, false) }