mirror of
https://github.com/golang/go
synced 2024-11-17 20:04:47 -07:00
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/14485 Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
parent
1cb53ce36b
commit
984004263d
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user