Commit 98400426 authored by Dave Cheney's avatar Dave Cheney Committed by Russ Cox

runtime: skip CallbackGC test in short mode on linux/arm

Fixes #11959
Fixes #12035

Skip the CallbackGC test on linux/arm. This test takes between 30 and 60
seconds to run by itself, and is run 4 times over the course of ./run.bash
(once during the runtime test, three times more later in the build).

Change-Id: I4e7d3046031cd8c08f39634bdd91da6e00054caf
Reviewed-on: https://go-review.googlesource.com/14485Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
parent 1cb53ce3
......@@ -40,8 +40,13 @@ func TestCgoCallbackGC(t *testing.T) {
if runtime.GOOS == "plan9" || runtime.GOOS == "windows" {
t.Skipf("no pthreads on %s", runtime.GOOS)
}
if testing.Short() && runtime.GOOS == "dragonfly" {
t.Skip("see golang.org/issue/11990")
if testing.Short() {
switch {
case runtime.GOOS == "dragonfly":
t.Skip("see golang.org/issue/11990")
case runtime.GOOS == "linux" && runtime.GOARCH == "arm":
t.Skip("too slow for arm builders")
}
}
got := executeTest(t, cgoCallbackGCSource, nil)
want := "OK\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment