Makes gtest print elapsed time by default.

This commit is contained in:
zhanyong.wan
2009-04-14 23:19:22 +00:00
parent 7fa242a44b
commit f204cd89e5
4 changed files with 14 additions and 13 deletions

View File

@@ -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.