Skip to content

Commit

Permalink
Don't use ugly old std::out to send info to CDash
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux committed Apr 14, 2012
1 parent 7e318c5 commit c6a006e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/src/core/qgsrenderchecker.cpp
Expand Up @@ -277,10 +277,12 @@ bool QgsRenderChecker::compareImages( QString theTestName,
//
// And send it to CDash
//
std::cout << "<DartMeasurement name=\"Mismatch Count "
<< "\" type=\"numeric/integer\">";
std::cout << mMismatchCount;
std::cout << "</DartMeasurement>" << std::endl;
myDashMessage = "<DartMeasurement name=\"Mismatch Count "
"\" type=\"numeric/integer\">" +
QString::number( mMismatchCount ) + "/" +
QString::number( mMatchTarget ) +
"</DartMeasurement>";
qDebug( ) << myDashMessage;

bool myAnomalyMatchFlag = isKnownAnomaly( myDifferenceImage );

Expand Down

0 comments on commit c6a006e

Please sign in to comment.