]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo/internal/testshared: log stdout when go command fails
authorqmuntal <quimmuntal@gmail.com>
Thu, 20 Mar 2025 08:41:28 +0000 (09:41 +0100)
committerQuim Muntal <quimmuntal@gmail.com>
Thu, 20 Mar 2025 16:09:46 +0000 (09:09 -0700)
commita4a5ef08bd15201772021620cc3a8331b30643f5
tree32135de30aeed6741f9c9775ae88220e0422389b
parent665af869920432879629c1d64cf59f129942dcd6
cmd/cgo/internal/testshared: log stdout when go command fails

Understanding a failure in the goCmd call is difficult because the
important information might be in the stdout instead of stderr.

Change-Id: Icf42974679103c69016129fe2ebb15d5a0a3b51a
Reviewed-on: https://go-review.googlesource.com/c/go/+/659456
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/cmd/cgo/internal/testshared/shared_test.go