mirror of
https://github.com/golang/go
synced 2024-11-19 16:34:49 -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:
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 {
|
||||
if runtime.GOOS == "nacl" {
|
||||
t.Skip("skipping on nacl")
|
||||
switch runtime.GOOS {
|
||||
case "android", "nacl":
|
||||
t.Skipf("skipping on %s", runtime.GOOS)
|
||||
}
|
||||
|
||||
checkStaleRuntime(t)
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user