summaryrefslogtreecommitdiff
path: root/test/run
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2012-01-30 14:46:31 -0800
committerRob Pike <r@golang.org>2012-01-30 14:46:31 -0800
commitaf481703a11825955bd7e456ec79c9414991163f (patch)
tree2416f0f7dbe938077f720e41136be395f1c260a8 /test/run
parent7b20a90437eaeb9e22bb53d15f7343e1868bda13 (diff)
downloadgo-af481703a11825955bd7e456ec79c9414991163f.tar.gz
go: move compilers into the go-tool directory
Also delete gotest, since it's messy to fix and slated for deletion anyway. A couple of things outside src can't be tested any more. "go test" will be fixed and these tests will be re-enabled. They're noisy for now. Fixes issue 284. R=rsc CC=golang-dev http://codereview.appspot.com/5598049
Diffstat (limited to 'test/run')
-rwxr-xr-xtest/run3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/run b/test/run
index 03c91ee30..bd18cefe4 100755
--- a/test/run
+++ b/test/run
@@ -33,6 +33,9 @@ failed=0
PATH=${GOBIN:-$GOROOT/bin}:`pwd`:/bin:/usr/bin:/usr/local/bin
+# TODO: We add the go-tools directory to the PATH to avoid thinking about a better way.
+PATH="$GOROOT/bin/go-tool":$PATH
+
RUNFILE="/tmp/gorun-$$-$USER"
TMP1FILE="/tmp/gotest1-$$-$USER"
TMP2FILE="/tmp/gotest2-$$-$USER"