1*760c253cSXin Lidiff --git src/encoding/gob/encoder_test.go src/encoding/gob/encoder_test.go 2*760c253cSXin Liindex dc9bbcf35d..10c30a91af 100644 3*760c253cSXin Li--- src/encoding/gob/encoder_test.go 4*760c253cSXin Li+++ src/encoding/gob/encoder_test.go 5*760c253cSXin Li@@ -1131,13 +1131,7 @@ func TestBadData(t *testing.T) { 6*760c253cSXin Li 7*760c253cSXin Li // TestHugeWriteFails tests that enormous messages trigger an error. 8*760c253cSXin Li func TestHugeWriteFails(t *testing.T) { 9*760c253cSXin Li- if runtime.GOARCH == "wasm" { 10*760c253cSXin Li- t.Skip("out of memory on wasm") 11*760c253cSXin Li- } 12*760c253cSXin Li- if testing.Short() { 13*760c253cSXin Li- // Requires allocating a monster, so don't do this from all.bash. 14*760c253cSXin Li- t.Skip("skipping huge allocation in short mode") 15*760c253cSXin Li- } 16*760c253cSXin Li+ t.Skip("skipping test due to huge memory requirement") 17*760c253cSXin Li huge := make([]byte, tooBig) 18*760c253cSXin Li huge[0] = 7 // Make sure it's not all zeros. 19*760c253cSXin Li buf := new(bytes.Buffer) 20*760c253cSXin Lidiff --git src/runtime/crash_cgo_test.go src/runtime/crash_cgo_test.go 21*760c253cSXin Liindex 9ff4bbe121..5fa1340cb2 100644 22*760c253cSXin Li--- src/runtime/crash_cgo_test.go 23*760c253cSXin Li+++ src/runtime/crash_cgo_test.go 24*760c253cSXin Li@@ -238,14 +238,7 @@ func TestCgoCCodeSIGPROF(t *testing.T) { 25*760c253cSXin Li } 26*760c253cSXin Li 27*760c253cSXin Li func TestCgoCrashTraceback(t *testing.T) { 28*760c253cSXin Li- t.Parallel() 29*760c253cSXin Li- switch platform := runtime.GOOS + "/" + runtime.GOARCH; platform { 30*760c253cSXin Li- case "darwin/amd64": 31*760c253cSXin Li- case "linux/amd64": 32*760c253cSXin Li- case "linux/ppc64le": 33*760c253cSXin Li- default: 34*760c253cSXin Li- t.Skipf("not yet supported on %s", platform) 35*760c253cSXin Li- } 36*760c253cSXin Li+ t.Skipf("skip running remotely") 37*760c253cSXin Li got := runTestProg(t, "testprogcgo", "CrashTraceback") 38*760c253cSXin Li for i := 1; i <= 3; i++ { 39*760c253cSXin Li if !strings.Contains(got, fmt.Sprintf("cgo symbolizer:%d", i)) { 40*760c253cSXin Li@@ -264,10 +257,7 @@ func TestCgoTracebackContext(t *testing.T) { 41*760c253cSXin Li } 42*760c253cSXin Li 43*760c253cSXin Li func testCgoPprof(t *testing.T, buildArg, runArg string) { 44*760c253cSXin Li- t.Parallel() 45*760c253cSXin Li- if runtime.GOOS != "linux" || (runtime.GOARCH != "amd64" && runtime.GOARCH != "ppc64le") { 46*760c253cSXin Li- t.Skipf("not yet supported on %s/%s", runtime.GOOS, runtime.GOARCH) 47*760c253cSXin Li- } 48*760c253cSXin Li+ t.Skipf("skip pprof test") 49*760c253cSXin Li testenv.MustHaveGoRun(t) 50*760c253cSXin Li 51*760c253cSXin Li exe, err := buildTestProg(t, "testprogcgo", buildArg) 52*760c253cSXin Lidiff --git src/runtime/crash_test.go src/runtime/crash_test.go 53*760c253cSXin Liindex 3607992788..e53ffb6a81 100644 54*760c253cSXin Li--- src/runtime/crash_test.go 55*760c253cSXin Li+++ src/runtime/crash_test.go 56*760c253cSXin Li@@ -481,6 +481,7 @@ func TestPanicLoop(t *testing.T) { 57*760c253cSXin Li } 58*760c253cSXin Li 59*760c253cSXin Li func TestMemPprof(t *testing.T) { 60*760c253cSXin Li+ t.Skipf("skip pprof test") 61*760c253cSXin Li testenv.MustHaveGoRun(t) 62*760c253cSXin Li 63*760c253cSXin Li exe, err := buildTestProg(t, "testprog") 64*760c253cSXin Lidiff --git src/runtime/crash_unix_test.go src/runtime/crash_unix_test.go 65*760c253cSXin Liindex 02891ec1ad..fd2723f16e 100644 66*760c253cSXin Li--- src/runtime/crash_unix_test.go 67*760c253cSXin Li+++ src/runtime/crash_unix_test.go 68*760c253cSXin Li@@ -174,9 +174,7 @@ func TestPanicSystemstack(t *testing.T) { 69*760c253cSXin Li // The GOTRACEBACK=crash handler takes 0.1 seconds even if 70*760c253cSXin Li // it's not writing a core file and potentially much longer if 71*760c253cSXin Li // it is. Skip in short mode. 72*760c253cSXin Li- if testing.Short() { 73*760c253cSXin Li- t.Skip("Skipping in short mode (GOTRACEBACK=crash is slow)") 74*760c253cSXin Li- } 75*760c253cSXin Li+ t.Skip("Skipping (GOTRACEBACK=crash hangs on arm)") 76*760c253cSXin Li 77*760c253cSXin Li if runtime.Sigisblocked(int(syscall.SIGQUIT)) { 78*760c253cSXin Li t.Skip("skipping; SIGQUIT is blocked, see golang.org/issue/19196") 79*760c253cSXin Li@@ -244,6 +242,7 @@ func testPanicSystemstackInternal() { 80*760c253cSXin Li } 81*760c253cSXin Li 82*760c253cSXin Li func TestSignalExitStatus(t *testing.T) { 83*760c253cSXin Li+ t.Skipf("skip running remotely") 84*760c253cSXin Li testenv.MustHaveGoBuild(t) 85*760c253cSXin Li exe, err := buildTestProg(t, "testprog") 86*760c253cSXin Li if err != nil { 87*760c253cSXin Lidiff --git src/runtime/fastlog2_test.go src/runtime/fastlog2_test.go 88*760c253cSXin Liindex ae0f40b2bb..a93933d7ac 100644 89*760c253cSXin Li--- src/runtime/fastlog2_test.go 90*760c253cSXin Li+++ src/runtime/fastlog2_test.go 91*760c253cSXin Li@@ -16,11 +16,7 @@ func TestFastLog2(t *testing.T) { 92*760c253cSXin Li const randomBitCount = 26 93*760c253cSXin Li var e float64 94*760c253cSXin Li 95*760c253cSXin Li- inc := 1 96*760c253cSXin Li- if testing.Short() { 97*760c253cSXin Li- // Check 1K total values, down from 64M. 98*760c253cSXin Li- inc = 1 << 16 99*760c253cSXin Li- } 100*760c253cSXin Li+ inc := 1 << 16 101*760c253cSXin Li for i := 1; i < 1<<randomBitCount; i += inc { 102*760c253cSXin Li l, fl := math.Log2(float64(i)), runtime.Fastlog2(float64(i)) 103*760c253cSXin Li d := l - fl 104*760c253cSXin Lidiff --git src/runtime/hash_test.go src/runtime/hash_test.go 105*760c253cSXin Liindex 7b8ebc4f3c..9fc5b995fc 100644 106*760c253cSXin Li--- src/runtime/hash_test.go 107*760c253cSXin Li+++ src/runtime/hash_test.go 108*760c253cSXin Li@@ -164,9 +164,7 @@ func TestSmhasherTwoNonzero(t *testing.T) { 109*760c253cSXin Li if GOARCH == "wasm" { 110*760c253cSXin Li t.Skip("Too slow on wasm") 111*760c253cSXin Li } 112*760c253cSXin Li- if testing.Short() { 113*760c253cSXin Li- t.Skip("Skipping in short mode") 114*760c253cSXin Li- } 115*760c253cSXin Li+ t.Skip("skipping test due to huge memory requirement") 116*760c253cSXin Li h := newHashSet() 117*760c253cSXin Li for n := 2; n <= 16; n++ { 118*760c253cSXin Li twoNonZero(h, n) 119*760c253cSXin Li@@ -273,9 +271,7 @@ func TestSmhasherPermutation(t *testing.T) { 120*760c253cSXin Li if GOARCH == "wasm" { 121*760c253cSXin Li t.Skip("Too slow on wasm") 122*760c253cSXin Li } 123*760c253cSXin Li- if testing.Short() { 124*760c253cSXin Li- t.Skip("Skipping in short mode") 125*760c253cSXin Li- } 126*760c253cSXin Li+ t.Skip("skipping test due to huge memory requirement") 127*760c253cSXin Li permutation(t, []uint32{0, 1, 2, 3, 4, 5, 6, 7}, 8) 128*760c253cSXin Li permutation(t, []uint32{0, 1 << 29, 2 << 29, 3 << 29, 4 << 29, 5 << 29, 6 << 29, 7 << 29}, 8) 129*760c253cSXin Li permutation(t, []uint32{0, 1}, 20) 130*760c253cSXin Lidiff --git src/runtime/pprof/pprof_test.go src/runtime/pprof/pprof_test.go 131*760c253cSXin Liindex 44d514393e..f46f00894c 100644 132*760c253cSXin Li--- src/runtime/pprof/pprof_test.go 133*760c253cSXin Li+++ src/runtime/pprof/pprof_test.go 134*760c253cSXin Li@@ -283,14 +283,7 @@ func profileOk(t *testing.T, need []string, prof bytes.Buffer, duration time.Dur 135*760c253cSXin Li func TestCPUProfileWithFork(t *testing.T) { 136*760c253cSXin Li testenv.MustHaveExec(t) 137*760c253cSXin Li 138*760c253cSXin Li- heap := 1 << 30 139*760c253cSXin Li- if runtime.GOOS == "android" { 140*760c253cSXin Li- // Use smaller size for Android to avoid crash. 141*760c253cSXin Li- heap = 100 << 20 142*760c253cSXin Li- } 143*760c253cSXin Li- if testing.Short() { 144*760c253cSXin Li- heap = 100 << 20 145*760c253cSXin Li- } 146*760c253cSXin Li+ heap = 100 << 20 147*760c253cSXin Li // This makes fork slower. 148*760c253cSXin Li garbage := make([]byte, heap) 149*760c253cSXin Li // Need to touch the slice, otherwise it won't be paged in. 150