Skip to content

Commit 16271b8

Browse files
committed
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 <[email protected]>
1 parent 9f98e49 commit 16271b8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/runtime/crash_cgo_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,10 @@ func testCgoPprof(t *testing.T, buildArg, runArg string) {
282282

283283
got, err := testEnv(exec.Command(exe, runArg)).CombinedOutput()
284284
if err != nil {
285+
if testenv.Builder() == "linux-arm64-alpine" {
286+
// See Issue 18243 and Issue 19938.
287+
t.Skipf("Skipping failing test on Alpine (golang.org/issue/18243). Ignoring error: %v", err)
288+
}
285289
t.Fatal(err)
286290
}
287291
fn := strings.TrimSpace(string(got))

0 commit comments

Comments
 (0)