-
Notifications
You must be signed in to change notification settings - Fork 763
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release] src/testUtil.ts: switch to -json mode only if -v is set
CL/242540 made runTest uses -json mode to ease streaming test output processing. However, it turned out -json makes the test output more verbose than the standard test output. (golang/go#40588) Verbose output by default is not ideal especially when running tests on many packages. This change brings back the old test output processing logic when users do not use the `-v` flag. The `go test` command will stream test output only if the `-v` flag is specified, so the original issue CL/242540 remains addressed. Fixes #471 Updates #316 Updates golang/go#40588 Change-Id: I29d6d1319acccab2457300c118216ceebb4c4033 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/246918 Run-TryBot: Hyang-Ah Hana Kim <[email protected]> TryBot-Result: kokoro <[email protected]> Reviewed-by: Rebecca Stambler <[email protected]> (cherry picked from commit bec9cf3) Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/247017 Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
- Loading branch information
Showing
1 changed file
with
65 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters