forked from cilium/cilium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for tparse in go test targets
Expand the integration-tests and privileged-tests targets to optionally run the output through tparse for a friendlier testing experience. Install this by default in Travis as well so that the format is more readable in that environment, and add it to the dev-doctor to help teach developers how to get this output format when running tests like this. This mode supports a few options: * Don't install tparse. This is fine, just output to the terminal. * Install tparse, verbose mode. Output all test output to the terminal while the tests are running. Summarize afterwards using tparse. * Install tparse, quiet mode (V=0). Only output the summary once all of the tests have run. This support is not extended to the benchmark targets so far, as it seemed like the tparse format doesn't summarize go bench results so this will only make it more difficult to see the benchmark results. Suggested-by: Aditi Ghag <aditi@cilium.io> Signed-off-by: Joe Stringer <joe@cilium.io>
- Loading branch information
1 parent
a6c227a
commit 0b7ef45
Showing
4 changed files
with
22 additions
and
2 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
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
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
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