Commit d270a679 authored by Russ Cox's avatar Russ Cox

runtime: disable gdb test when a GOROOT_FINAL move is pending

Fixes #13577.

Change-Id: I0bb8157d6210b0c7c09380c2163b7d7349495732
Reviewed-on: https://go-review.googlesource.com/17970Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent cfc9fde5
...@@ -60,6 +60,9 @@ func TestGdbPython(t *testing.T) { ...@@ -60,6 +60,9 @@ func TestGdbPython(t *testing.T) {
if runtime.GOOS == "darwin" { if runtime.GOOS == "darwin" {
t.Skip("gdb does not work on darwin") t.Skip("gdb does not work on darwin")
} }
if final := os.Getenv("GOROOT_FINAL"); final != "" && runtime.GOROOT() != final {
t.Skip("gdb test can fail with GOROOT_FINAL pending")
}
checkGdbPython(t) checkGdbPython(t)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment