diff options
| author | Sam Thanawalla <samthanawalla@google.com> | 2024-07-31 14:55:51 +0000 |
|---|---|---|
| committer | Sam Thanawalla <samthanawalla@google.com> | 2024-07-31 16:47:55 +0000 |
| commit | 34ddde165d770e0a0dbca1bd64260ed878eb48c8 (patch) | |
| tree | 6e3f7d55b497be6a27499d9ce06e4cce230a2510 /src/cmd | |
| parent | 650abbc0b03c3000fa1a068466eb104bef88b54d (diff) | |
| download | go-34ddde165d770e0a0dbca1bd64260ed878eb48c8.tar.xz | |
cmd/go: fix windows test failure for test_buildinfo_godebug_issue68053
Fix required adding $GOEXE because windows will produce a .exe file.
Fixes: #68673
Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-windows-amd64-longtest
Change-Id: I25206de362ee4be6a9c54bd1baa405f325d79313
Reviewed-on: https://go-review.googlesource.com/c/go/+/602095
Reviewed-by: Michael Matloob <matloob@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/cmd')
| -rw-r--r-- | src/cmd/go/testdata/script/test_buildinfo_godebug_issue68053.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/testdata/script/test_buildinfo_godebug_issue68053.txt b/src/cmd/go/testdata/script/test_buildinfo_godebug_issue68053.txt index 1257f7352a..e8b8ca2158 100644 --- a/src/cmd/go/testdata/script/test_buildinfo_godebug_issue68053.txt +++ b/src/cmd/go/testdata/script/test_buildinfo_godebug_issue68053.txt @@ -4,7 +4,7 @@ go list -test -f '{{.ImportPath}} {{.DefaultGODEBUG}}' stdout 'example.com/foo\.test.*panicnil=1.*' go test -c -go version -m ./foo.test +go version -m ./foo.test$GOEXE stdout 'build\tDefaultGODEBUG=.*panicnil=1.*' -- go.mod -- |
