diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-04-14 23:19:22 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-04-14 23:19:22 +0000 |
commit | f204cd89e591e8cda022f4b471962c8556e19b8c (patch) | |
tree | 97fbe1ceb2fff443a03921a420ac99d2a2ab90f4 /test/gtest_output_test_.cc | |
parent | 7fa242a44b47ce74d7246440b14571f7a5dd1b17 (diff) | |
download | googletest-f204cd89e591e8cda022f4b471962c8556e19b8c.tar.gz googletest-f204cd89e591e8cda022f4b471962c8556e19b8c.tar.bz2 googletest-f204cd89e591e8cda022f4b471962c8556e19b8c.zip |
Makes gtest print elapsed time by default.
Diffstat (limited to 'test/gtest_output_test_.cc')
-rw-r--r-- | test/gtest_output_test_.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/gtest_output_test_.cc b/test/gtest_output_test_.cc index a47560be..4d7f0758 100644 --- a/test/gtest_output_test_.cc +++ b/test/gtest_output_test_.cc @@ -976,6 +976,8 @@ GTEST_DEFINE_bool_(internal_skip_environment_and_ad_hoc_tests, false, // of them are intended to fail), and then compare the test results // with the "golden" file. int main(int argc, char **argv) { + testing::GTEST_FLAG(print_time) = false; + // We just run the tests, knowing some of them are intended to fail. // We will use a separate Python script to compare the output of // this program with the golden file. |