]> Cypherpunks repositories - gostls13.git/commit
testing: add -fullpath to go test
authorHossein Zolfi <hossein.zolfi@gmail.com>
Fri, 27 Jan 2023 14:50:09 +0000 (18:20 +0330)
committerGopher Robot <gobot@golang.org>
Wed, 22 Feb 2023 16:42:04 +0000 (16:42 +0000)
commit81316ff50a4a81cc2077f8a831b4e1896c56a564
tree1c703d42a0d7ad65735f9c3b062ee5aaff95afc0
parentc17f8057b09b26b32f0a2aaa1efc9dd89921d431
testing: add -fullpath to go test

When -test.fullpath flag is provided to go test,
go test displays the full file names in error messages.

Fixes #37708

Change-Id: I6096e75ed816fd42205810f20624e495047a73a2
Reviewed-on: https://go-review.googlesource.com/c/go/+/463837
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
src/cmd/go/alldocs.go
src/cmd/go/internal/test/flagdefs.go
src/cmd/go/internal/test/test.go
src/cmd/go/internal/test/testflag.go
src/cmd/go/testdata/script/test_fullpath.txt [new file with mode: 0644]
src/testing/testing.go