Skip to content

Commit

Permalink
runtime: ignore TestCgoPprofPIE test failures on Alpine
Browse files Browse the repository at this point in the history
Updates #19938
Updates #18243

Change-Id: Ib6e704c0a5d596bdfaa6493902d2528bec55bf16
Reviewed-on: https://go-review.googlesource.com/41628
Reviewed-by: Ian Lance Taylor <iant@golang.org>
  • Loading branch information
bradfitz committed Apr 25, 2017
1 parent 9f98e49 commit 16271b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/runtime/crash_cgo_test.go
Expand Up @@ -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))
Expand Down

0 comments on commit 16271b8

Please sign in to comment.