summaryrefslogtreecommitdiff
path: root/googletest/docs
diff options
context:
space:
mode:
authorvslashg <gfalcon@google.com>2020-05-05 17:07:14 -0400
committervslashg <gfalcon@google.com>2020-05-05 17:07:14 -0400
commite589a337170554c48bc658cc857cf15080c9eacc (patch)
treee4bf52f48761405b079368a6fbffc804aef78c03 /googletest/docs
parent1a9c3e4414073b1bab87379f7cf5b093c67dfb19 (diff)
parent189299e957bbef414b46931f0ba88123c285148a (diff)
downloadgoogletest-git-e589a337170554c48bc658cc857cf15080c9eacc.tar.gz
Merge pull request #2751 from calumr:quiet-flag
PiperOrigin-RevId: 309958629
Diffstat (limited to 'googletest/docs')
-rw-r--r--googletest/docs/advanced.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/googletest/docs/advanced.md b/googletest/docs/advanced.md
index 5a3401ce..a5dd6226 100644
--- a/googletest/docs/advanced.md
+++ b/googletest/docs/advanced.md
@@ -2261,6 +2261,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