]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix windows test failure for test_buildinfo_godebug_issue68053
authorSam Thanawalla <samthanawalla@google.com>
Wed, 31 Jul 2024 14:55:51 +0000 (14:55 +0000)
committerSam Thanawalla <samthanawalla@google.com>
Wed, 31 Jul 2024 16:47:55 +0000 (16:47 +0000)
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>

src/cmd/go/testdata/script/test_buildinfo_godebug_issue68053.txt

index 1257f7352a4118dc72d545bc37317823bbe0a1ed..e8b8ca215839ea6a2cea0bcc9f266e1b96880ceb 100644 (file)
@@ -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 --