From: Go Compiler Team Date: Thu, 20 Apr 2023 14:32:58 +0000 (+0100) Subject: arm_disable_flaky_tests X-Git-Tag: archive/raspbian/1.11.6-1+rpi1+deb10u7^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fb30670ddb0ff7a7c46f948f852c69039cef3ab3;p=golang-1.11.git arm_disable_flaky_tests Reviewed-by: Sylvain Beucler Last-Update: 2023-04-20 These tests are flaky on arm32 especially on arm32-on-arm64 buildds. Disabling. Gbp-Pq: Name arm_disable_flaky_tests.patch --- diff --git a/src/os/exec/exec_test.go b/src/os/exec/exec_test.go index 7bb2308..fd878de 100644 --- a/src/os/exec/exec_test.go +++ b/src/os/exec/exec_test.go @@ -535,6 +535,9 @@ func TestExtraFilesFDShuffle(t *testing.T) { } func TestExtraFiles(t *testing.T) { + if runtime.GOARCH == "arm" { + t.Skip("skipping on Debian/arm") + } testenv.MustHaveExec(t) if runtime.GOOS == "windows" { diff --git a/src/runtime/crash_test.go b/src/runtime/crash_test.go index 2766b88..3dfb73e 100644 --- a/src/runtime/crash_test.go +++ b/src/runtime/crash_test.go @@ -623,6 +623,9 @@ func TestBadTraceback(t *testing.T) { } func TestTimePprof(t *testing.T) { + if runtime.GOARCH == "arm" { + t.Skip("skipping on Debian/arm") + } fn := runTestProg(t, "testprog", "TimeProf") fn = strings.TrimSpace(fn) defer os.Remove(fn) diff --git a/src/runtime/pprof/pprof_test.go b/src/runtime/pprof/pprof_test.go index 44d5143..3e9dfc6 100644 --- a/src/runtime/pprof/pprof_test.go +++ b/src/runtime/pprof/pprof_test.go @@ -131,6 +131,9 @@ func parseProfile(t *testing.T, valBytes []byte, f func(uintptr, []*profile.Loca } func testCPUProfile(t *testing.T, need []string, f func(dur time.Duration)) { + if runtime.GOARCH == "arm" { + t.Skip("skipping on Debian/arm") + } switch runtime.GOOS { case "darwin": switch runtime.GOARCH {