From: Brad Fitzpatrick Date: Tue, 25 Apr 2017 02:46:06 +0000 (+0000) Subject: runtime: ignore TestCgoPprofPIE test failures on Alpine X-Git-Tag: go1.9beta1~496 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=16271b8b52b059b892165d7dd32ecd4ff1070347;p=gostls13.git 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 --- 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))