From 16271b8b52b059b892165d7dd32ecd4ff1070347 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 25 Apr 2017 02:46:06 +0000 Subject: [PATCH] runtime: ignore TestCgoPprofPIE test failures on Alpine Updates #19938 Updates #18243 Change-Id: Ib6e704c0a5d596bdfaa6493902d2528bec55bf16 Reviewed-on: https://go-review.googlesource.com/41628 Reviewed-by: Ian Lance Taylor --- src/runtime/crash_cgo_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/runtime/crash_cgo_test.go b/src/runtime/crash_cgo_test.go index 2c3fe39f2c..252313ab67 100644 --- a/src/runtime/crash_cgo_test.go +++ b/src/runtime/crash_cgo_test.go @@ -282,6 +282,10 @@ func testCgoPprof(t *testing.T, buildArg, runArg string) { got, err := testEnv(exec.Command(exe, runArg)).CombinedOutput() if err != nil { + if testenv.Builder() == "linux-arm64-alpine" { + // See Issue 18243 and Issue 19938. + t.Skipf("Skipping failing test on Alpine (golang.org/issue/18243). Ignoring error: %v", err) + } t.Fatal(err) } fn := strings.TrimSpace(string(got)) -- 2.50.0