diff options
| -rw-r--r-- | src/cmd/compile/internal/test/fixedbugs_test.go | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/test/fixedbugs_test.go b/src/cmd/compile/internal/test/fixedbugs_test.go index 4730a21f34..49d4fbb415 100644 --- a/src/cmd/compile/internal/test/fixedbugs_test.go +++ b/src/cmd/compile/internal/test/fixedbugs_test.go @@ -5,6 +5,7 @@ package test import ( + "bytes" "internal/platform" "internal/testenv" "os" @@ -110,7 +111,13 @@ func TestIssue77597(t *testing.T) { cmd := testenv.Command(t, testenv.GoToolPath(t), "run", "-race", "-gcflags=all=-N -l", src) out, err := cmd.CombinedOutput() if err != nil { - t.Fatalf("program failed: %v\n%s", err, out) + // For details, please refer to CL 160919. + unsupportedVMA := []byte("unsupported VMA range") + if bytes.Contains(out, unsupportedVMA) { + t.Skipf("skipped due to unsupported VMA on %s/%s", runtime.GOOS, runtime.GOARCH) + } else { + t.Fatalf("program failed: %v\n%s", err, out) + } } } |
