From 8127dbf76ad16350b72bbe29728836a90e60e3dc Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Wed, 16 Aug 2017 20:30:26 +0200 Subject: [PATCH] cmd/link: skip TestFieldOverlap on Plan 9 TestSizes has been added in CL 50170. This test is failing on Plan 9 because executables don't have a DWARF symbol table. Fixes #21480. Change-Id: I51079abdc18ad944617bdbcfe2dad970a0cea0f2 Reviewed-on: https://go-review.googlesource.com/56210 Run-TryBot: David du Colombier <0intro@gmail.com> Reviewed-by: Ian Lance Taylor TryBot-Result: Gobot Gobot --- src/cmd/link/internal/ld/dwarf_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cmd/link/internal/ld/dwarf_test.go b/src/cmd/link/internal/ld/dwarf_test.go index 2776bbf595..d59220bb66 100644 --- a/src/cmd/link/internal/ld/dwarf_test.go +++ b/src/cmd/link/internal/ld/dwarf_test.go @@ -241,6 +241,10 @@ func main() { } func TestFieldOverlap(t *testing.T) { + if runtime.GOOS == "plan9" { + t.Skip("skipping on plan9; no DWARF symbol table in executables") + } + // This test grew out of issue 21094, where specific sudog DWARF types // had elem fields set to values instead of pointers. const prog = `