]> Cypherpunks repositories - gostls13.git/commit
cmd/go: preserve LIBRARY_PATH and C_INCLUDE_PATH for script tests
authorBrandon Bennett <bbennett@fb.com>
Fri, 4 Feb 2022 19:45:18 +0000 (12:45 -0700)
committerBryan Mills <bcmills@google.com>
Fri, 4 Feb 2022 20:50:14 +0000 (20:50 +0000)
commit2aafd9ea179ec308607c131dbda438abac2b9184
tree9ea70a78af349363495cba096bec98c7a6f95971
parent02224c8ce471b9618081c69d952fb8597f71b7e6
cmd/go: preserve LIBRARY_PATH and C_INCLUDE_PATH  for script tests

In bespoke build environments default libraries may be specificied with
LIBRARY_PATH, C_INCLUDE_PATH enviroment variables to overide the system
(i.e glibc). Allow them though to allow cgo testing of these enviroments.

Fixes #50985

Change-Id: I7497a7715d9b635a6ae97efaab94a7ff01cdf8e2
Reviewed-on: https://go-review.googlesource.com/c/go/+/383334
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Trust: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/go/script_test.go