]> Cypherpunks repositories - gostls13.git/commit
debug/buildinfo: add old-Go and not-Go tests
authorMichael Pratt <mpratt@google.com>
Fri, 26 Jul 2024 16:05:40 +0000 (12:05 -0400)
committerGopher Robot <gobot@golang.org>
Mon, 29 Jul 2024 15:32:56 +0000 (15:32 +0000)
commit28aed4015ee7ba85b29007d685de9150e01a9acd
tree7673a215333b7ef9d3f58734402cc2edae254d40
parentd531e344aea38f165a9d13d1e4173816fec35050
debug/buildinfo: add old-Go and not-Go tests

There is currently no coverage for the pre-1.18 buildinfo format, or for
parsing non-Go binaries. Add basic tests for each of these.

Updates #68592.

Change-Id: Iec14d29ffc1392e46f592c0c7bebf2eb75f7d0d3
Reviewed-on: https://go-review.googlesource.com/c/go/+/601457
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
src/debug/buildinfo/buildinfo_test.go
src/debug/buildinfo/testdata/go117 [new file with mode: 0755]
src/debug/buildinfo/testdata/notgo [new file with mode: 0755]