diff --git a/src/cmd/compile/internal/test/fixedbugs_test.go b/src/cmd/compile/internal/test/fixedbugs_test.go
index 4730a21..49d4fbb 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 @@
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)
+ }
}
}