Reviewed-by: Sylvain Beucler <beuc@debian.org>
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
}
func TestExtraFiles(t *testing.T) {
+ if runtime.GOARCH == "arm" {
+ t.Skip("skipping on Debian/arm")
+ }
testenv.MustHaveExec(t)
if runtime.GOOS == "windows" {
}
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)
}
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 {