Commit 1ddaa297 authored by Jan Möbius's avatar Jan Möbius
Browse files

Better mark output of compare tool

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16437 383ad7c9-94d9-4d36-a494-682f7c89f535
parent dd0ec3b8
...@@ -115,7 +115,8 @@ bool compareString(QString _key ,QVariant _result, QVariant _reference) { ...@@ -115,7 +115,8 @@ bool compareString(QString _key ,QVariant _result, QVariant _reference) {
int main(int argv, char **args) int main(int argv, char **args)
{ {
std::cout << "============================================================\n" ;
std::cout << "Executing compare tool\n";
std::cout << "Comparing results to reference:\n" ; std::cout << "Comparing results to reference:\n" ;
// Flag if everything went fine // Flag if everything went fine
...@@ -134,13 +135,14 @@ int main(int argv, char **args) ...@@ -134,13 +135,14 @@ int main(int argv, char **args)
QFileInfo resultFileInfo(file1); QFileInfo resultFileInfo(file1);
if ( !resultFileInfo.exists() ) { if ( !resultFileInfo.exists() ) {
std::cerr << "Result file: " << file1.toStdString() << " does not exist!\n"; std::cerr << "ERROR! Result file: " << file1.toStdString() << " does not exist!\n";
return 1; return 1;
} }
QFileInfo referenceFileInfo(file2); QFileInfo referenceFileInfo(file2);
if ( !referenceFileInfo.exists() ) { if ( !referenceFileInfo.exists() ) {
std::cerr << "Reference file: " << file2.toStdString() << " does not exist!\n"; std::cerr << "ERROR! Reference file: " << file2.toStdString() << " does not exist!\n";
return 1; return 1;
} }
......
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