mirror of
https://github.com/golang/go
synced 2024-11-22 03:54:39 -07:00
test/run: honor $TMPDIR
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5676094
This commit is contained in:
parent
68b35b0852
commit
6154f146af
6
test/run
6
test/run
@ -36,9 +36,9 @@ PATH=${GOBIN:-$GOROOT/bin}:`pwd`:/bin:/usr/bin:/usr/local/bin
|
|||||||
# TODO: We add the tool directory to the PATH to avoid thinking about a better way.
|
# TODO: We add the tool directory to the PATH to avoid thinking about a better way.
|
||||||
PATH="$GOTOOLDIR:$PATH"
|
PATH="$GOTOOLDIR:$PATH"
|
||||||
|
|
||||||
RUNFILE="/tmp/gorun-$$-$USER"
|
RUNFILE="${TMPDIR:-/tmp}/gorun-$$-$USER"
|
||||||
TMP1FILE="/tmp/gotest1-$$-$USER"
|
TMP1FILE="${TMPDIR:-/tmp}/gotest1-$$-$USER"
|
||||||
TMP2FILE="/tmp/gotest2-$$-$USER"
|
TMP2FILE="${TMPDIR:-/tmp}/gotest2-$$-$USER"
|
||||||
|
|
||||||
# don't run the machine out of memory: limit individual processes to 4GB.
|
# don't run the machine out of memory: limit individual processes to 4GB.
|
||||||
# on thresher, 3GB suffices to run the tests; with 2GB, peano fails.
|
# on thresher, 3GB suffices to run the tests; with 2GB, peano fails.
|
||||||
|
Loading…
Reference in New Issue
Block a user