1
0
mirror of https://github.com/golang/go synced 2024-11-19 13:54:56 -07:00

runtime: skip crash test on android

LGTM=bradfitz
R=golang-codereviews, bradfitz, minux
CC=golang-codereviews
https://golang.org/cl/110400043
This commit is contained in:
David Crawshaw 2014-07-08 14:47:52 -04:00
parent 97c8b24d01
commit 1648df6728
2 changed files with 6 additions and 4 deletions

View File

@ -32,8 +32,9 @@ func testEnv(cmd *exec.Cmd) *exec.Cmd {
}
func executeTest(t *testing.T, templ string, data interface{}) string {
if runtime.GOOS == "nacl" {
t.Skip("skipping on nacl")
switch runtime.GOOS {
case "android", "nacl":
t.Skipf("skipping on %s", runtime.GOOS)
}
checkStaleRuntime(t)

View File

@ -95,8 +95,9 @@ func BenchmarkDeferMany(b *testing.B) {
// The value reported will include the padding between runtime.gogo and the
// next function in memory. That's fine.
func TestRuntimeGogoBytes(t *testing.T) {
if GOOS == "nacl" {
t.Skip("skipping on nacl")
switch GOOS {
case "android", "nacl":
t.Skipf("skipping on %s", GOOS)
}
dir, err := ioutil.TempDir("", "go-build")