From a728b0ba7cf6316e0c2e79f8d725654a40d62081 Mon Sep 17 00:00:00 2001 From: Jordan Rhee Date: Wed, 12 Dec 2018 17:38:17 -0800 Subject: [PATCH] cmd/link: skip TestRuntimeTypeAttrInternal on windows/arm Updates #26148 Change-Id: Ide1fe821cc061a08488df9d40878131f37f894c9 Reviewed-on: https://go-review.googlesource.com/c/153844 Run-TryBot: Ian Lance Taylor Reviewed-by: Ian Lance Taylor --- 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 4768a11c259..7bbe2b710cc 100644 --- a/src/cmd/link/internal/ld/dwarf_test.go +++ b/src/cmd/link/internal/ld/dwarf_test.go @@ -870,6 +870,10 @@ func TestRuntimeTypeAttrInternal(t *testing.T) { t.Skip("skipping on plan9; no DWARF symbol table in executables") } + if runtime.GOOS == "windows" && runtime.GOARCH == "arm" { + t.Skip("skipping on windows/arm; test is incompatible with relocatable binaries") + } + testRuntimeTypeAttr(t, "-ldflags=-linkmode=internal") }