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
go/ssa/interp: redirect interpreter std{out,err} to testing.T.Log
The interpreter tests have long been exceedingly noisy because
they write to os.Stdout and os.Stderr directly. This CL
temporarily redirects the output to a buffer (via a pipe),
which is printed via t.Log once the interpreter returns.
This means that a test failure only prints the output relevant
to that test.
Change-Id: Id1835a9b0f91a09fdc7e61dab38906a7b42e300f
Reviewed-on: https://go-review.googlesource.com/c/tools/+/622355
Reviewed-by: Tim King <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Auto-Submit: Alan Donovan <[email protected]>
0 commit comments