]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: disable segfaulting test on darwin/arm
authorDavid Crawshaw <crawshaw@golang.org>
Tue, 3 Mar 2015 22:59:21 +0000 (17:59 -0500)
committerDavid Crawshaw <crawshaw@golang.org>
Tue, 3 Mar 2015 23:09:06 +0000 (23:09 +0000)
Issue #10043

Change-Id: I6ce7f303cd96ac575f7a673dd4a459339382d22e
Reviewed-on: https://go-review.googlesource.com/6692
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/transport_test.go

index 504a6a7b56440593a04ff82f3cba9175dce9612f..78f62a9859cf10fbf02ebf162b83d52020ae4ea6 100644 (file)
@@ -1788,6 +1788,13 @@ var proxyFromEnvTests = []proxyFromEnvTest{
 }
 
 func TestProxyFromEnvironment(t *testing.T) {
+       if runtime.GOOS == "darwin" && runtime.GOARCH == "arm" {
+               // fmt.Sprintf("%v", (*URL)(nil)) causes a segfault inside the string
+               // method, which lldb intercepts on the darwin/arm builder. Until it
+               // is fixed, skipping the test.
+               t.Skipf("skipping on %s/%s, issue 10043", runtime.GOOS, runtime.GOARCH)
+       }
+
        ResetProxyEnv()
        for _, tt := range proxyFromEnvTests {
                os.Setenv("HTTP_PROXY", tt.env)