From 218650fac887ca9198d481b6ff5f4bb04089691b Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Mon, 14 May 2018 20:34:34 +0200 Subject: [PATCH] cmd/compile: skip TestStmtLines on Plan 9 TestStmtLines has been added in CL 102435. This test is failing on Plan 9 because executables don't have a DWARF symbol table. Fixes #25387. Change-Id: I6ae7cba0e8ad4ab569a29ea8920b7849acfb9846 Reviewed-on: https://go-review.googlesource.com/113115 Run-TryBot: David du Colombier <0intro@gmail.com> TryBot-Result: Gobot Gobot Reviewed-by: David Chase --- src/cmd/compile/internal/ssa/stmtlines_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cmd/compile/internal/ssa/stmtlines_test.go b/src/cmd/compile/internal/ssa/stmtlines_test.go index ff505ae357..443b5f9f56 100644 --- a/src/cmd/compile/internal/ssa/stmtlines_test.go +++ b/src/cmd/compile/internal/ssa/stmtlines_test.go @@ -56,6 +56,10 @@ func (f *File) Get(lineno int) (string, bool) { } func TestStmtLines(t *testing.T) { + if runtime.GOOS == "plan9" { + t.Skip("skipping on plan9; no DWARF symbol table in executables") + } + lines := map[Line]bool{} dw, err := open(testenv.GoToolPath(t)) must(err) -- 2.50.0