mirror of https://github.com/golang/go.git
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:
parent
97c8b24d01
commit
1648df6728
|
|
@ -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) {
|
||||||
// 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")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue