@@ -24,8 +24,8 @@ import (
2424// This test is a CGI host (testing host.go) that runs its own binary
2525// as a child process testing the other half of CGI (child.go).
2626func TestHostingOurselves (t * testing.T ) {
27- if runtime .GOOS == "nacl" {
28- t .Skip ("skipping on nacl" )
27+ if runtime .GOOS == "nacl" || ( runtime . GOOS == "darwin" && runtime . GOARCH == "arm" ) {
28+ t .Skipf ("skipping on %s/%s" , runtime . GOOS , runtime . GOARCH )
2929 }
3030
3131 h := & Handler {
@@ -93,8 +93,8 @@ func (w *limitWriter) Write(p []byte) (n int, err error) {
9393// If there's an error copying the child's output to the parent, test
9494// that we kill the child.
9595func TestKillChildAfterCopyError (t * testing.T ) {
96- if runtime .GOOS == "nacl" {
97- t .Skip ("skipping on nacl" )
96+ if runtime .GOOS == "nacl" || ( runtime . GOOS == "darwin" && runtime . GOARCH == "arm" ) {
97+ t .Skipf ("skipping on %s/%s" , runtime . GOOS , runtime . GOARCH )
9898 }
9999
100100 defer func () { testHookStartProcess = nil }()
@@ -140,8 +140,8 @@ func TestKillChildAfterCopyError(t *testing.T) {
140140// Test that a child handler writing only headers works.
141141// golang.org/issue/7196
142142func TestChildOnlyHeaders (t * testing.T ) {
143- if runtime .GOOS == "nacl" {
144- t .Skip ("skipping on nacl" )
143+ if runtime .GOOS == "nacl" || ( runtime . GOOS == "darwin" && runtime . GOARCH == "arm" ) {
144+ t .Skipf ("skipping on %s/%s" , runtime . GOOS , runtime . GOARCH )
145145 }
146146
147147 h := & Handler {
0 commit comments