From 0c53b4ec4f909fd12d4f39ddedd393f469f74ae4 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 10 Oct 2017 17:19:56 -0700 Subject: [PATCH] cmd/compile: disable TestNexting in short mode Updates #22206 Change-Id: If75feddc01f8f86f294929fa7081c70eb15e581d Reviewed-on: https://go-review.googlesource.com/69790 Run-TryBot: Ian Lance Taylor TryBot-Result: Gobot Gobot Reviewed-by: Russ Cox --- src/cmd/compile/internal/ssa/debug_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/cmd/compile/internal/ssa/debug_test.go b/src/cmd/compile/internal/ssa/debug_test.go index e1b8e38ece..238745466f 100644 --- a/src/cmd/compile/internal/ssa/debug_test.go +++ b/src/cmd/compile/internal/ssa/debug_test.go @@ -60,6 +60,12 @@ var gdb = "gdb" // Might be "ggdb" on Darwin, because gdb no longer part of XCod // go test debug_test.go -args -u -d func TestNexting(t *testing.T) { + // Skip this test in an ordinary run.bash. Too many things + // can cause it to break. + if testing.Short() { + t.Skip("skipping in short mode; see issue #22206") + } + testenv.MustHaveGoBuild(t) if !*delve && !*force && !(runtime.GOOS == "linux" && runtime.GOARCH == "amd64") { -- 2.48.1