]> Cypherpunks repositories - gostls13.git/commit
runtime: use stripped test environment for TestGdbPython
authorAustin Clements <austin@google.com>
Tue, 26 May 2015 19:21:18 +0000 (15:21 -0400)
committerAustin Clements <austin@google.com>
Thu, 28 May 2015 17:39:08 +0000 (17:39 +0000)
commit4a1957d0aaad9c6700b4bdab19af611e68468bf3
treec662f256db23bc115f595b11d3cdd01a9ad0fc16
parent0c02b33acda207964adde58b610b6f2c82ffde1d
runtime: use stripped test environment for TestGdbPython

Most runtime tests that invoke the compiler to build a sub-test binary
do so with a special environment constructed by testEnv that strips
out environment variables that should apply to the test but not to the
build.

Fix TestGdbPython to use this test environment when invoking go build,
like other tests do.

Change-Id: Iafdf89d4765c587cbebc427a5d61cb8a7e71b326
Reviewed-on: https://go-review.googlesource.com/10455
Reviewed-by: Russ Cox <rsc@golang.org>
src/runtime/runtime-gdb_test.go