diff --git a/wiki/GoogleTestAdvancedGuide.wiki b/wiki/GoogleTestAdvancedGuide.wiki index 4dfc2056..9c4e9872 100644 --- a/wiki/GoogleTestAdvancedGuide.wiki +++ b/wiki/GoogleTestAdvancedGuide.wiki @@ -1075,11 +1075,13 @@ non-Windows platforms) the `TERM` environment variable is set to `xterm` or _Availability:_ Linux, Windows, Mac. -=== Printing the Elapsed Time: `--gtest_print_time` === +=== Printing the Elapsed Time: `GTEST_PRINT_TIME` and `--gtest_print_time` === By default, Google Test does not show you the time it takes to run each test. To see that, run the test program with the -`--gtest_print_time` command line flag. +`--gtest_print_time` command line flag. Setting the +`GTEST_PRINT_TIME` environment variable to a non-zero value has the +same effect. _Availability:_ Linux, Windows, Mac.