From 6d73537128ad7ff35ba1dbc55fc2837b0989b6b2 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 4 Oct 2018 17:06:21 +0000 Subject: [PATCH] debug/pe: skip a test on windows/arm It requires a DLL that's not available on windows/arm apparently. Fixes #27904 Change-Id: I082a273f62976b7184636c6aeca6201a7871d238 Reviewed-on: https://go-review.googlesource.com/c/139720 Run-TryBot: Brad Fitzpatrick Reviewed-by: Katie Hockman TryBot-Result: Gobot Gobot --- src/debug/pe/file_test.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/debug/pe/file_test.go b/src/debug/pe/file_test.go index 24cd673254..c65c82d342 100644 --- a/src/debug/pe/file_test.go +++ b/src/debug/pe/file_test.go @@ -535,7 +535,11 @@ func TestBuildingWindowsGUI(t *testing.T) { func TestImportTableInUnknownSection(t *testing.T) { if runtime.GOOS != "windows" { - t.Skip("skipping windows only test") + t.Skip("skipping Windows-only test") + } + if runtime.GOARCH == "arm" { + // Issue 27904 + t.Skip("skipping test on arm; no atmfd.dll available") } // first we need to find this font driver -- 2.50.0