From 26985ed4a58665d25a256e3b63b353972fc3aab0 Mon Sep 17 00:00:00 2001 From: Jordan Rhee Date: Fri, 14 Dec 2018 16:11:03 -0800 Subject: [PATCH] cmd/nm: report windows/arm as relocatable in TestGoExec Updates #26148 Change-Id: I704efafca39e4397caf2db0146d83d309c761dd1 Reviewed-on: https://go-review.googlesource.com/c/154357 Reviewed-by: Brad Fitzpatrick Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- src/cmd/nm/nm_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cmd/nm/nm_test.go b/src/cmd/nm/nm_test.go index 53c39f2f89..1b5bd21ad5 100644 --- a/src/cmd/nm/nm_test.go +++ b/src/cmd/nm/nm_test.go @@ -151,6 +151,9 @@ func testGoExec(t *testing.T, iscgo, isexternallinker bool) { return true } } + if runtime.GOOS == "windows" && runtime.GOARCH == "arm" { + return true + } return false } -- 2.50.0