Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLev Dragunov <l.dragunov@corp.mail.ru>2015-09-03 15:04:28 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:03:42 +0300
commit9f0077e90d0bd22731a9a8c36fe0d631349609f0 (patch)
tree09ebce98b8a61d14abc7673ed4559b2acab2d23b /testing
parent1ae6b5e716eb3c6f3ee742903e31c7616f888d0a (diff)
[tests] Concurrent output collision fix.
Diffstat (limited to 'testing')
-rw-r--r--testing/testingmain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/testingmain.cpp b/testing/testingmain.cpp
index dfb9c168f9..84ce172f1e 100644
--- a/testing/testingmain.cpp
+++ b/testing/testingmain.cpp
@@ -152,7 +152,7 @@ int main(int argc, char * argv[])
if (g_testingOptions.m_suppressRegExp && regexp::Matches(testNames[iTest], suppressRegExp))
continue;
- cerr << "Running " << testNames[iTest] << endl;
+ LOG(LINFO, ("Running", testNames[iTest]));
if (!g_bLastTestOK)
{
// Somewhere else global variables have been reset.
@@ -209,7 +209,7 @@ int main(int argc, char * argv[])
for (size_t i = 0; i < testNames.size(); ++i)
{
if (!testResults[i])
- cerr << testNames[i] << endl;
+ LOG(LINFO, (testNames[i]));
}
LOG(LINFO, ("Some tests FAILED."));
return STATUS_FAILED;