1
0
mirror of https://github.com/golang/go synced 2024-11-23 22:20:02 -07:00

runtime: disable gdb test when a GOROOT_FINAL move is pending

Fixes #13577.

Change-Id: I0bb8157d6210b0c7c09380c2163b7d7349495732
Reviewed-on: https://go-review.googlesource.com/17970
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Russ Cox 2015-12-17 10:45:50 -05:00
parent cfc9fde54d
commit d270a6794b

View File

@ -60,6 +60,9 @@ func TestGdbPython(t *testing.T) {
if runtime.GOOS == "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)