aboutsummaryrefslogtreecommitdiff
path: root/test/README.md
diff options
context:
space:
mode:
authorGiovanni Bajo <rasky@develer.com>2018-03-03 14:47:20 +0100
committerGiovanni Bajo <rasky@develer.com>2018-03-03 19:52:00 +0000
commitec0b8c0585a1dad79c5b5bc9c95d4d35ce56cc53 (patch)
tree62ae336095d1d558d3b5141807629babbc8f9c43 /test/README.md
parent74a92b8e8d0eae6bf9918ef16794b0363886713d (diff)
downloadgo-ec0b8c0585a1dad79c5b5bc9c95d4d35ce56cc53.tar.gz
go-ec0b8c0585a1dad79c5b5bc9c95d4d35ce56cc53.zip
test: use the version of Go used to run run.go
Currently, the top-level testsuite always uses whatever version of Go is found in the PATH to execute all the tests. This forces the developers to tweak the PATH to run the testsuite. Change it to use the same version of Go used to run run.go. This allows developers to run the testsuite using the tip compiler by simply saying "../bin/go run run.go". I think this is a better solution compared to always forcing "../bin/go", because it allows developers to run the testsuite using different Go versions, for instance to check if a new test is fixed in tip compared to the installed compiler. Fixes #24217 Change-Id: I41b299c753b6e77c41e28be9091b2b630efea9d2 Reviewed-on: https://go-review.googlesource.com/98439 Run-TryBot: Giovanni Bajo <rasky@develer.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'test/README.md')
-rw-r--r--test/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/README.md b/test/README.md
index ca6a8c6580..068dc1b22b 100644
--- a/test/README.md
+++ b/test/README.md
@@ -4,7 +4,7 @@ They are run as part of all.bash.
To run just these tests, execute:
- go run run.go
+ ../bin/go run run.go
Standard library tests should be written as regular Go tests in the appropriate package.