X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=modules%2Frostests%2Frosautotest%2Fmain.cpp;h=9c728d8d494f62ce626b895b89b5da25ae0c7934;hp=8d6d342da97cf31d69ceecf0b2b2ccd835c212e2;hb=627f0242ad0d86bed0e5da7003cfe5693c85a5e7;hpb=535b8dda8de52d85a5ad7c361524e9c100db37b6 diff --git a/modules/rostests/rosautotest/main.cpp b/modules/rostests/rosautotest/main.cpp index 8d6d342da97..9c728d8d494 100644 --- a/modules/rostests/rosautotest/main.cpp +++ b/modules/rostests/rosautotest/main.cpp @@ -59,8 +59,10 @@ wmain(int argc, wchar_t* argv[]) Configuration.GetSystemInformation(); Configuration.GetConfigurationFromFile(); - ss << "\n\nSystem uptime " << setprecision(2) << fixed ; - ss << ((float)GetTickCount()/1000) << " seconds\n"; + ss << endl + << endl + << "[ROSAUTOTEST] System uptime " << setprecision(2) << fixed; + ss << ((float)GetTickCount()/1000) << " seconds" << endl; StringOut(ss.str()); /* Report tests startup */ @@ -89,8 +91,11 @@ wmain(int argc, wchar_t* argv[]) } catch(CSimpleException& e) { + stringstream ss; + // e.GetMessage() must include ending '\n'. - StringOut(e.GetMessage()); + ss << "[ROSAUTOTEST] " << e.GetMessage(); + StringOut(ss.str()); } catch(CFatalException& e) {