aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/testdata
diff options
context:
space:
mode:
authorJake Bailey <jacob.b.bailey@gmail.com>2025-05-13 22:01:43 -0700
committerMichael Pratt <mpratt@google.com>2025-05-20 10:15:47 -0700
commit2a65100e68cd82172b214a4d12cd2586c0b9ef99 (patch)
tree25879e61c8875c9b371a0d889df20fee96082c1c /src/runtime/testdata
parentff9da9bcd579a08cf9ca62620c5956676ac28586 (diff)
downloadgo-2a65100e68cd82172b214a4d12cd2586c0b9ef99.tar.xz
cmd/internal/testdir: filter out errors outside input file set
When an errorcheck test uses -m and instantiates an imported generic function, the errors will include -m messages from the imported package (since the new function has not previously been walked). These errors cannot be matched since we can't write errors in files outside the test input. To fix this (and enable the other CLs in this stack), drop any unmatched errors that occur in files outside those in the input set. Change-Id: I2fcf0dd4693125d2e5823ea4437011730d8b1b1f Reviewed-on: https://go-review.googlesource.com/c/go/+/672515 Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Keith Randall <khr@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/runtime/testdata')
0 files changed, 0 insertions, 0 deletions