diff options
author | Aaron Terrell (Enus) <enus@lindenlab.com> | 2010-08-24 23:57:25 -0700 |
---|---|---|
committer | Aaron Terrell (Enus) <enus@lindenlab.com> | 2010-08-24 23:57:25 -0700 |
commit | 6bf5da6657d503827874db91b3c77453291619b0 (patch) | |
tree | 6f303e84de814de65b3edbdb1a66e7bd06585798 | |
parent | 48743cbd41ab56b42959c47de8f5451f85741fbb (diff) |
seems that build out put sometimes concatenates and we miss a line in our reporting parse, adding newlines at the beginning of each case out
-rw-r--r-- | indra/test/test.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/indra/test/test.cpp b/indra/test/test.cpp index 972c399994..8916bc9dea 100644 --- a/indra/test/test.cpp +++ b/indra/test/test.cpp @@ -202,12 +202,12 @@ public: virtual void group_started(const std::string& name) { LLTestCallback::group_started(name); - std::cout << "##teamcity[testSuiteStarted name='" << name << "']\n" << std::flush; + std::cout << "\n##teamcity[testSuiteStarted name='" << name << "']\n" << std::flush; } virtual void group_completed(const std::string& name) { LLTestCallback::group_completed(name); - std::cout << "##teamcity[testSuiteFinished name='" << name << "']\n" << std::flush; + std::cout << "\n##teamcity[testSuiteFinished name='" << name << "']\n" << std::flush; } virtual void test_completed(const tut::test_result& tr) @@ -217,31 +217,31 @@ public: switch(tr.result) { case tut::test_result::ok: - std::cout << "##teamcity[testStarted name='" << tr.group << "." << tr.test << "']\n" << std::flush; + std::cout << "\n##teamcity[testStarted name='" << tr.group << "." << tr.test << "']\n" << std::flush; std::cout << "##teamcity[testFinished name='" << tr.group << "." << tr.test << "']\n" << std::flush; break; case tut::test_result::fail: - std::cout << "##teamcity[testStarted name='" << tr.group << "." << tr.test << "']\n" << std::flush; + std::cout << "\n##teamcity[testStarted name='" << tr.group << "." << tr.test << "']\n" << std::flush; std::cout << "##teamcity[testFailed name='" << tr.group << "." << tr.test << "' message='" << tr.message << "']\n" << std::flush; std::cout << "##teamcity[testFinished name='" << tr.group << "." << tr.test << "']\n" << std::flush; break; case tut::test_result::ex: - std::cout << "##teamcity[testStarted name='" << tr.group << "." << tr.test << "']\n" << std::flush; + std::cout << "\n##teamcity[testStarted name='" << tr.group << "." << tr.test << "']\n" << std::flush; std::cout << "##teamcity[testFailed name='" << tr.group << "." << tr.test << "' message='" << tr.message << "']\n" << std::flush; std::cout << "##teamcity[testFinished name='" << tr.group << "." << tr.test << "']\n" << std::flush; break; case tut::test_result::warn: - std::cout << "##teamcity[testStarted name='" << tr.group << "." << tr.test << "']\n" << std::flush; + std::cout << "\n##teamcity[testStarted name='" << tr.group << "." << tr.test << "']\n" << std::flush; std::cout << "##teamcity[testFailed name='" << tr.group << "." << tr.test << "' message='" << tr.message << "']\n" << std::flush; std::cout << "##teamcity[testFinished name='" << tr.group << "." << tr.test << "']\n" << std::flush; break; case tut::test_result::term: - std::cout << "##teamcity[testStarted name='" << tr.group << "." << tr.test << "']\n" << std::flush; + std::cout << "\n##teamcity[testStarted name='" << tr.group << "." << tr.test << "']\n" << std::flush; std::cout << "##teamcity[testFailed name='" << tr.group << "." << tr.test << "' message='" << tr.message << "']\n" << std::flush; std::cout << "##teamcity[testFinished name='" << tr.group << "." << tr.test << "']\n" << std::flush; break; case tut::test_result::skip: - std::cout << "##teamcity[testStarted name='" << tr.group << "." << tr.test << "']\n" << std::flush; + std::cout << "\n##teamcity[testStarted name='" << tr.group << "." << tr.test << "']\n" << std::flush; std::cout << "##teamcity[testIgnored name='" << tr.group << "." << tr.test << "']\n" << std::flush; std::cout << "##teamcity[testFinished name='" << tr.group << "." << tr.test << "']\n" << std::flush; break; |