diff options
author | Ian Lance Taylor <iant@golang.org> | 2018-11-02 16:38:11 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2018-11-08 01:56:34 +0000 |
commit | 5d6e8f3142ae9cd118b887e02576943ce5544ed7 (patch) | |
tree | 9d77f92b2bb3f1edf189b5bda752e49ca11e12ab /src/cmd/go/testdata/script/README | |
parent | 67018e9b684d1a9686a37053307476cd32358c17 (diff) | |
download | go-5d6e8f3142ae9cd118b887e02576943ce5544ed7.tar.gz go-5d6e8f3142ae9cd118b887e02576943ce5544ed7.zip |
cmd/go: add goversion environment variable to testing script language
Updates #28221
Change-Id: I8a1e352cd9122bce200d45c6b19955cb50308d71
Reviewed-on: https://go-review.googlesource.com/c/147280
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/cmd/go/testdata/script/README')
-rw-r--r-- | src/cmd/go/testdata/script/README | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/script/README b/src/cmd/go/testdata/script/README index 73858103fd..22124b9fb8 100644 --- a/src/cmd/go/testdata/script/README +++ b/src/cmd/go/testdata/script/README @@ -36,6 +36,7 @@ Scripts also have access to these other environment variables: PATH=<actual PATH> TMPDIR=$WORK/tmp devnull=<value of os.DevNull> + goversion=<current Go version; for example, 1.12> The environment variable $exe (lowercase) is an empty string on most systems, ".exe" on Windows. |