[rosautotest]

- When rosautotest is launched, show how much time has past since the machine has started
- Also show how much time each individual test need to complete
- The purpose of this feature isn't to benchmark the os but to let us spot regressions regarding test time 

svn path=/trunk/; revision=55441
This commit is contained in:
Giannis Adamopoulos 2012-02-05 20:56:21 +00:00
parent a423f34284
commit aac3d18763
3 changed files with 17 additions and 1 deletions

View file

@ -51,11 +51,17 @@ wmain(int argc, wchar_t* argv[])
try
{
stringstream ss;
/* Set up the configuration */
Configuration.ParseParameters(argc, argv);
Configuration.GetSystemInformation();
Configuration.GetConfigurationFromFile();
ss << "\n\nSystem uptime " << setprecision(2) << fixed ;
ss << ((float)GetTickCount()/1000) << " seconds\n";
StringOut(ss.str());
/* Run the tests */
WineTest.Run();