Commit 1648df67 authored by David Crawshaw's avatar David Crawshaw

runtime: skip crash test on android

LGTM=bradfitz
R=golang-codereviews, bradfitz, minux
CC=golang-codereviews
https://golang.org/cl/110400043
parent 97c8b24d
...@@ -32,8 +32,9 @@ func testEnv(cmd *exec.Cmd) *exec.Cmd { ...@@ -32,8 +32,9 @@ func testEnv(cmd *exec.Cmd) *exec.Cmd {
} }
func executeTest(t *testing.T, templ string, data interface{}) string { func executeTest(t *testing.T, templ string, data interface{}) string {
if runtime.GOOS == "nacl" { switch runtime.GOOS {
t.Skip("skipping on nacl") case "android", "nacl":
t.Skipf("skipping on %s", runtime.GOOS)
} }
checkStaleRuntime(t) checkStaleRuntime(t)
......
...@@ -95,8 +95,9 @@ func BenchmarkDeferMany(b *testing.B) { ...@@ -95,8 +95,9 @@ func BenchmarkDeferMany(b *testing.B) {
// The value reported will include the padding between runtime.gogo and the // The value reported will include the padding between runtime.gogo and the
// next function in memory. That's fine. // next function in memory. That's fine.
func TestRuntimeGogoBytes(t *testing.T) { func TestRuntimeGogoBytes(t *testing.T) {
if GOOS == "nacl" { switch GOOS {
t.Skip("skipping on nacl") case "android", "nacl":
t.Skipf("skipping on %s", GOOS)
} }
dir, err := ioutil.TempDir("", "go-build") dir, err := ioutil.TempDir("", "go-build")
......
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