Add GTEST_BRIEF option

Only prints failures and a total pass count
This commit is contained in:
Calum Robinson
2020-03-18 18:31:46 +00:00
parent 482ac6ee63
commit fb19f57880
8 changed files with 204 additions and 26 deletions

View File

@@ -2252,6 +2252,12 @@ disable colors, or let googletest decide. When the value is `auto`, googletest
will use colors if and only if the output goes to a terminal and (on non-Windows
platforms) the `TERM` environment variable is set to `xterm` or `xterm-color`.
#### Suppressing test passes
By default, googletest prints 1 line of output for each test, indicating if it
passed or failed. To show only test failures, run the test program with
`--gtest_brief=1`, or set the GTEST_BRIEF environment variable to `1`.
#### Suppressing the Elapsed Time
By default, googletest prints the time it takes to run each test. To disable