aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2021-11-22 14:01:26 -0500
committerBryan C. Mills <bcmills@google.com>2021-11-22 19:49:38 +0000
commit189b4a2f428be7264db76e5275c96d98b847383b (patch)
treebf89cba697ac6268ca2afd2795bd5452e4b4e64b /src/cmd/go
parent8f559bcb4666b2358c227aa1bd3a82f3b806d45a (diff)
downloadgo-189b4a2f428be7264db76e5275c96d98b847383b.tar.gz
go-189b4a2f428be7264db76e5275c96d98b847383b.zip
cmd/go: forward the MallocNanoZone variable to script tests
For #49138 Fixes #49723 Change-Id: Ia93130fdc042a1e2107be95cccd7e7eeaa909a87 Reviewed-on: https://go-review.googlesource.com/c/go/+/366254 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/cmd/go')
-rw-r--r--src/cmd/go/script_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/go/script_test.go b/src/cmd/go/script_test.go
index 98c1b68ed9..101195fc9d 100644
--- a/src/cmd/go/script_test.go
+++ b/src/cmd/go/script_test.go
@@ -146,6 +146,7 @@ var extraEnvKeys = []string{
"GO_TESTING_GOTOOLS", // for gccgo testing
"GCCGO", // for gccgo testing
"GCCGOTOOLDIR", // for gccgo testing
+ "MallocNanoZone", // Needed to work around an apparent kernel bug in macOS 12; see https://golang.org/issue/49138.
}
// setup sets up the test execution temporary directory and environment.