You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\Exodust\AppData\Local\go-build
set GOENV=C:\Users\Exodust\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\Exodust\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\Exodust\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLCHAIN=auto
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.23.0
set GODEBUG=
set GOTELEMETRY=on
set GOTELEMETRYDIR=C:\Users\Exodust\AppData\Roaming\go\telemetry
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\Users\Exodust\go\src\github.com\exodustx0\testingbug\go.mod
set GOWORK=
set CGO_CFLAGS=-O2 -g
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=C:\Users\Exodust\AppData\Local\Temp\go-build3098519217=/tmp/go-build -gno-record-gcc-switches
(Playground, doesn't fail in the Playground due to the absence of gopls test commands)
The report produced by the run test command incorrectly assumes that the test failure originated from the work directory. In this instance, the test failure originates from runtime/panic.go:115, but run test reports it as being <workdir>/panic.go:115.
hyangah
added
go-test
issues related to go test support (test output, test explorer, ...)
and removed
gopls
gopls related issues
labels
Sep 5, 2024
hyangah
changed the title
x/tools/gopls: incorrect absolute test failure path reported through deferred helper func
test: incorrect absolute test failure path reported through deferred helper func
Sep 5, 2024
gopls version
go env
What did you do?
(Playground, doesn't fail in the Playground due to the absence of gopls test commands)
The report produced by the
run test
command incorrectly assumes that the test failure originated from the work directory. In this instance, the test failure originates from runtime/panic.go:115, butrun test
reports it as being <workdir>/panic.go:115.What did you see happen?
What did you expect to see?
Editor and settings
VSCode 1.92.2
settings.json:
Logs
The text was updated successfully, but these errors were encountered: