]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/link: use GOOS=ios for TestBuildForTvOS
authorCherry Zhang <cherryyz@google.com>
Sat, 17 Oct 2020 00:25:54 +0000 (20:25 -0400)
committerCherry Zhang <cherryyz@google.com>
Sat, 17 Oct 2020 02:48:03 +0000 (02:48 +0000)
Updates #38485.

Fix darwin-amd64-10_15 build.

Change-Id: I1833c23788acafc9530bb91fb6182fc5cb44f6cd
Reviewed-on: https://go-review.googlesource.com/c/go/+/263265
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/link/link_test.go

index 6729568766b0da1e085d3e1648b2aa49e1c91973..968da4837db41d204cb178dc87080bb8ae45b805 100644 (file)
@@ -309,7 +309,7 @@ func TestBuildForTvOS(t *testing.T) {
        cmd := exec.Command(testenv.GoToolPath(t), "build", "-buildmode=c-archive", "-o", ar, lib)
        cmd.Env = append(os.Environ(),
                "CGO_ENABLED=1",
-               "GOOS=darwin",
+               "GOOS=ios",
                "GOARCH=arm64",
                "CC="+strings.Join(CC, " "),
                "CGO_CFLAGS=", // ensure CGO_CFLAGS does not contain any flags. Issue #35459