aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/README
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2019-11-12 14:55:42 -0500
committerBryan C. Mills <bcmills@google.com>2019-11-12 20:54:41 +0000
commita3ffb8a1ac0edc57fff7dd8d79e3ff9129ed6708 (patch)
tree24c1a3c6f5d5629227a52a19c9f6a12f7aaae1ce /src/cmd/go/testdata/script/README
parent4d0ed149ffc94af16156307f08418b65ca084185 (diff)
downloadgo-a3ffb8a1ac0edc57fff7dd8d79e3ff9129ed6708.tar.gz
go-a3ffb8a1ac0edc57fff7dd8d79e3ff9129ed6708.zip
cmd/go: convert TestCacheVet to a script
This test was failing when GOROOT was read-only. (I'm not sure why that was the case, but it's simpler to convert to to a script than to try to debug the non-script test.) Updates #28387 Change-Id: I9943e28d990e5d8b01da10e70531f3ab99e319a7 Reviewed-on: https://go-review.googlesource.com/c/go/+/206897 Run-TryBot: Bryan C. Mills <bcmills@google.com> Reviewed-by: Jay Conrod <jayconrod@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/go/testdata/script/README')
-rw-r--r--src/cmd/go/testdata/script/README1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/script/README b/src/cmd/go/testdata/script/README
index ec886b18a1..1fd9639b6c 100644
--- a/src/cmd/go/testdata/script/README
+++ b/src/cmd/go/testdata/script/README
@@ -77,6 +77,7 @@ should only run when the condition is satisfied. The available conditions are:
- [root] for os.Geteuid() == 0
- [symlink] for testenv.HasSymlink()
- [exec:prog] for whether prog is available for execution (found by exec.LookPath)
+ - [GODEBUG:value] for whether value is one of the comma-separated entries in the GODEBUG variable
A condition can be negated: [!short] means to run the rest of the line
when testing.Short() is false. Multiple conditions may be given for a single