summaryrefslogtreecommitdiffstats
path: root/googletest/docs
diff options
context:
space:
mode:
authorCalum Robinson <calum.robinson@sias.com>2020-03-18 18:31:46 (GMT)
committerCalum Robinson <calum.robinson@sias.com>2020-03-19 20:33:58 (GMT)
commitfb19f57880f6d52b922413ba80f244bb39becdd5 (patch)
treed3bad27f217f7511e220136125a7f6e9edd51255 /googletest/docs
parent482ac6ee63429af2aa9c44f4e6427873fb68fb1f (diff)
downloadgoogletest-fb19f57880f6d52b922413ba80f244bb39becdd5.zip
googletest-fb19f57880f6d52b922413ba80f244bb39becdd5.tar.gz
googletest-fb19f57880f6d52b922413ba80f244bb39becdd5.tar.bz2
Add GTEST_BRIEF option
Only prints failures and a total pass count
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 5677643..5a46083 100644
--- a/googletest/docs/advanced.md
+++ b/googletest/docs/advanced.md
@@ -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