Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to print elapsed time for each test, test case, and the entire test program. #6

Closed
GoogleCodeExporter opened this issue May 16, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

Such information is available in the XML report but not in the text output.
 We should add a --gtest_print_time flag for including timing info in the
text output. 

Original issue reported on code.google.com by mahuil...@gmail.com on 8 Jul 2008 at 6:38

@GoogleCodeExporter
Copy link
Author

Original comment by shiq...@gmail.com on 8 Jul 2008 at 6:39

  • Added labels: OpSys-All, Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

Guys, here is my simple patch to achieve this requirement.
It uses --gtest_print_time which is false default. This new flag is tested, but 
the 
text output is not as you may want different format. Thus, it will brake the 
gtest_output_test test!

Original comment by Balazs....@gmail.com on 8 Jul 2008 at 6:30

Attachments:

@GoogleCodeExporter
Copy link
Author

The code reviews can be found here: http://codereview.appspot.com/2574.

Original comment by shiq...@gmail.com on 16 Jul 2008 at 11:11

@GoogleCodeExporter
Copy link
Author

Original comment by shiq...@gmail.com on 31 Jul 2008 at 6:41

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant