[ROSAUTOTEST]

If the last chunk of the string sent to StringOut isn't a whole line and forcePrint is set to false, send back what's left after processing. The caller is then responsible for prepending that string next time it calls StringOut. Should fix the rest of debug log corruptions.

svn path=/trunk/; revision=55670
This commit is contained in:
Kamil Hornicek 2012-02-17 12:31:32 +00:00
parent c0f7614fb0
commit 04135b7ce4
7 changed files with 40 additions and 25 deletions

View file

@ -207,7 +207,7 @@ CWebService::Submit(const char* TestType, CTestInfo* TestInfo)
Response.reset(DoRequest(Data));
ss << "The server responded:" << endl << Response << endl;
StringOut(ss.str());
StringOut(ss.str(), TRUE);
if(strcmp(Response, "OK"))
EXCEPTION("Aborted!\n");