From: Ian Lance Taylor Date: Wed, 11 Oct 2017 00:19:56 +0000 (-0700) Subject: cmd/compile: disable TestNexting in short mode X-Git-Tag: go1.10beta1~795 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0c53b4ec4f909fd12d4f39ddedd393f469f74ae4;p=gostls13.git 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 --- 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") {