Kaydet (Commit) a7806c31 authored tarafından Miklos Vajna's avatar Miklos Vajna

SwModelTestBase: write csv output to stdout

This way a 2>/dev/null output still gives a csv, even if there were
various other warnings in the meantime.

Change-Id: I6ed3de4058c829e856286c7d484d6ed436c362a4
üst 639aa8e7
...@@ -402,7 +402,7 @@ protected: ...@@ -402,7 +402,7 @@ protected:
void header() void header()
{ {
std::cerr << "File tested,Execution Time (ms)" << std::endl; std::cout << "File tested,Execution Time (ms)" << std::endl;
} }
void load(const char* pDir, const char* pName) void load(const char* pDir, const char* pName)
...@@ -410,7 +410,7 @@ protected: ...@@ -410,7 +410,7 @@ protected:
if (mxComponent.is()) if (mxComponent.is())
mxComponent->dispose(); mxComponent->dispose();
// Output name early, so in the case of a hang, the name of the hanging input file is visible. // Output name early, so in the case of a hang, the name of the hanging input file is visible.
std::cerr << pName << ","; std::cout << pName << ",";
m_nStartTime = osl_getGlobalTimer(); m_nStartTime = osl_getGlobalTimer();
mxComponent = loadFromDesktop(getURLFromSrc(pDir) + OUString::createFromAscii(pName), "com.sun.star.text.TextDocument"); mxComponent = loadFromDesktop(getURLFromSrc(pDir) + OUString::createFromAscii(pName), "com.sun.star.text.TextDocument");
if (mustCalcLayoutOf(pName)) if (mustCalcLayoutOf(pName))
...@@ -452,7 +452,7 @@ protected: ...@@ -452,7 +452,7 @@ protected:
void finish() void finish()
{ {
sal_uInt32 nEndTime = osl_getGlobalTimer(); sal_uInt32 nEndTime = osl_getGlobalTimer();
std::cerr << (nEndTime - m_nStartTime) << std::endl; std::cout << (nEndTime - m_nStartTime) << std::endl;
if (mpXmlBuffer) if (mpXmlBuffer)
{ {
xmlBufferFree(mpXmlBuffer); xmlBufferFree(mpXmlBuffer);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment